and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
id, customer_id, customer_code, name, address_line1, address_line2, province, city,
county, postal_code, country_code, country_name, email, mobile_number, phone_number,
identity_number, created_time, created_by_user_id, created_by_user_code, update_time,
update_by_user_id, update_by_user_code, extend1, extend2, attachment1_address, attachment1_remark,
attachment2_address, attachment2_remark, attachment3_address, attachment3_remark
delete from u_customer_contact
where id = #{id,jdbcType=VARCHAR}
delete from u_customer_contact
insert into u_customer_contact
id,
customer_id,
customer_code,
name,
address_line1,
address_line2,
province,
city,
county,
postal_code,
country_code,
country_name,
email,
mobile_number,
phone_number,
identity_number,
created_time,
created_by_user_id,
created_by_user_code,
update_time,
update_by_user_id,
update_by_user_code,
extend1,
extend2,
attachment1_address,
attachment1_remark,
attachment2_address,
attachment2_remark,
attachment3_address,
attachment3_remark,
#{id,jdbcType=VARCHAR},
#{customerId,jdbcType=VARCHAR},
#{customerCode,jdbcType=VARCHAR},
#{name,jdbcType=VARCHAR},
#{addressLine1,jdbcType=VARCHAR},
#{addressLine2,jdbcType=VARCHAR},
#{province,jdbcType=VARCHAR},
#{city,jdbcType=VARCHAR},
#{county,jdbcType=VARCHAR},
#{postalCode,jdbcType=VARCHAR},
#{countryCode,jdbcType=VARCHAR},
#{countryName,jdbcType=VARCHAR},
#{email,jdbcType=VARCHAR},
#{mobileNumber,jdbcType=VARCHAR},
#{phoneNumber,jdbcType=VARCHAR},
#{identityNumber,jdbcType=VARCHAR},
#{createdTime,jdbcType=TIMESTAMP},
#{createdByUserId,jdbcType=VARCHAR},
#{createdByUserCode,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP},
#{updateByUserId,jdbcType=VARCHAR},
#{updateByUserCode,jdbcType=VARCHAR},
#{extend1,jdbcType=VARCHAR},
#{extend2,jdbcType=VARCHAR},
#{attachment1Address,jdbcType=VARCHAR},
#{attachment1Remark,jdbcType=VARCHAR},
#{attachment2Address,jdbcType=VARCHAR},
#{attachment2Remark,jdbcType=VARCHAR},
#{attachment3Address,jdbcType=VARCHAR},
#{attachment3Remark,jdbcType=VARCHAR},
update u_customer_contact
customer_id = #{customerId,jdbcType=VARCHAR},
customer_code = #{customerCode,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
address_line1 = #{addressLine1,jdbcType=VARCHAR},
address_line2 = #{addressLine2,jdbcType=VARCHAR},
province = #{province,jdbcType=VARCHAR},
city = #{city,jdbcType=VARCHAR},
county = #{county,jdbcType=VARCHAR},
postal_code = #{postalCode,jdbcType=VARCHAR},
country_code = #{countryCode,jdbcType=VARCHAR},
country_name = #{countryName,jdbcType=VARCHAR},
email = #{email,jdbcType=VARCHAR},
mobile_number = #{mobileNumber,jdbcType=VARCHAR},
phone_number = #{phoneNumber,jdbcType=VARCHAR},
identity_number = #{identityNumber,jdbcType=VARCHAR},
created_time = #{createdTime,jdbcType=TIMESTAMP},
created_by_user_id = #{createdByUserId,jdbcType=VARCHAR},
created_by_user_code = #{createdByUserCode,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP},
update_by_user_id = #{updateByUserId,jdbcType=VARCHAR},
update_by_user_code = #{updateByUserCode,jdbcType=VARCHAR},
extend1 = #{extend1,jdbcType=VARCHAR},
extend2 = #{extend2,jdbcType=VARCHAR},
attachment1_address = #{attachment1Address,jdbcType=VARCHAR},
attachment1_remark = #{attachment1Remark,jdbcType=VARCHAR},
attachment2_address = #{attachment2Address,jdbcType=VARCHAR},
attachment2_remark = #{attachment2Remark,jdbcType=VARCHAR},
attachment3_address = #{attachment3Address,jdbcType=VARCHAR},
attachment3_remark = #{attachment3Remark,jdbcType=VARCHAR},
where id = #{id,jdbcType=VARCHAR}