id,user_id,ship_name,ship_mobile,ship_area,ship_address,set_default,country,ship_area_path,ship_phone,ship_zip_code,create_time,rec_status,update_time,tb_status
INSERT INTO ${tableName} (
user_id, ship_name, ship_mobile, ship_area, ship_address, set_default, country, ship_area_path, ship_phone, ship_zip_code, rec_status
) VALUES (
#{entity.userId}, #{entity.shipName}, #{entity.shipMobile}, #{entity.shipArea}, #{entity.shipAddress}, #{entity.setDefault}, #{entity.country}, #{entity.shipAreaPath}, #{entity.shipPhone}, #{entity.shipZipCode}, #{entity.recStatus}
)
INSERT INTO ${tableName} (
user_id, ship_name, ship_mobile, ship_area, ship_address, set_default, country, ship_area_path, ship_phone, ship_zip_code, rec_status
) VALUES
(#{entity.userId}, #{entity.shipName}, #{entity.shipMobile}, #{entity.shipArea}, #{entity.shipAddress}, #{entity.setDefault}, #{entity.country}, #{entity.shipAreaPath}, #{entity.shipPhone}, #{entity.shipZipCode}, #{entity.recStatus})
UPDATE ${tableName} SET
user_id=#{entity.userId}, ship_name=#{entity.shipName}, ship_mobile=#{entity.shipMobile}, ship_area=#{entity.shipArea}, ship_address=#{entity.shipAddress}, set_default=#{entity.setDefault}, country=#{entity.country}, ship_area_path=#{entity.shipAreaPath}, ship_phone=#{entity.shipPhone}, ship_zip_code=#{entity.shipZipCode}, rec_status=#{entity.recStatus}, tb_status=#{entity.tbStatus}
WHERE
id = #{entity.id}
UPDATE ${tableName} SET
${field}
${value} ${key}