INSERT INTO crms_personal_customer
(customer_id,id_card,age,gender,marital_status,education,employer,position,working_years,social_security_num,living_situation
,residence_addr,business_source,emergency_linkman,emergency_linkman_relationship,emergency_linkman_phone)
VALUES (#{customerId},#{idCard},#{age},#{gender},#{maritalStatus},#{education},#{employer},#{position},#{workingYears},
#{socialSecurityNum},#{livingSituation},#{residenceAddr},#{businessSource},#{emergencyLinkman},#{emergencyLinkmanRelationship},
#{emergencyLinkmanPhone});
UPDATE crms_personal_customer
SET id_card=#{idCard},age=#{age},gender=#{gender},marital_status=#{maritalStatus},education=#{education},
employer=#{employer},position=#{position},working_years=#{workingYears},social_security_num=#{socialSecurityNum},
living_situation=#{livingSituation},residence_addr=#{residenceAddr},business_source=#{businessSource},
emergency_linkman=#{emergencyLinkman},emergency_linkman_relationship=#{emergencyLinkmanRelationship},
emergency_linkman_phone=#{emergencyLinkmanPhone}
WHERE customer_id = #{customerId}