select id, external_contact_id,course,product_talk,disease_talk, name,disease,is_line, sex, age, address, habits, illness_time, body, study, course_status, family, family_disease, talk, user_type, is_self, intensify, is_cold, cold_body, sweat, other, toilet, eat, menses, medicine, constitution, recommend_medicine, consult_product, is_buy, buy_product, create_time, update_time from qw_external_contact_info insert into qw_external_contact_info external_contact_id, name, sex, age, address, habits, illness_time, body, study, course_status, family, family_disease, talk, user_type, is_self, intensify, is_cold, cold_body, sweat, other, toilet, eat, menses, medicine, constitution, recommend_medicine, consult_product, is_buy, buy_product, create_time, update_time, disease, is_line, course, product_talk, disease_talk, #{externalContactId}, #{name}, #{sex}, #{age}, #{address}, #{habits}, #{illnessTime}, #{body}, #{study}, #{courseStatus}, #{family}, #{familyDisease}, #{talk}, #{userType}, #{isSelf}, #{intensify}, #{isCold}, #{coldBody}, #{sweat}, #{other}, #{toilet}, #{eat}, #{menses}, #{medicine}, #{constitution}, #{recommendMedicine}, #{consultProduct}, #{isBuy}, #{buyProduct}, #{createTime}, #{updateTime}, #{disease}, #{isLine}, #{course}, #{productTalk}, #{diseaseTalk}, update qw_external_contact_info external_contact_id = #{externalContactId}, name = #{name}, sex = #{sex}, age = #{age}, address = #{address}, habits = #{habits}, illness_time = #{illnessTime}, body = #{body}, study = #{study}, course_status = #{courseStatus}, family = #{family}, family_disease = #{familyDisease}, talk = #{talk}, user_type = #{userType}, is_self = #{isSelf}, intensify = #{intensify}, is_cold = #{isCold}, cold_body = #{coldBody}, sweat = #{sweat}, other = #{other}, toilet = #{toilet}, eat = #{eat}, menses = #{menses}, medicine = #{medicine}, constitution = #{constitution}, recommend_medicine = #{recommendMedicine}, consult_product = #{consultProduct}, is_buy = #{isBuy}, buy_product = #{buyProduct}, create_time = #{createTime}, update_time = #{updateTime}, disease = #{disease}, is_line = #{isLine}, course = #{course}, product_talk = #{productTalk}, disease_talk = #{diseaseTalk}, where id = #{id} update qw_external_contact_info external_contact_id = #{externalContactId}, name = #{name}, sex = #{sex}, age = #{age}, address = #{address}, habits = #{habits}, illness_time = #{illnessTime}, body = #{body}, study = #{study}, course_status = #{courseStatus}, family = #{family}, family_disease = #{familyDisease}, talk = #{talk}, user_type = #{userType}, is_self = #{isSelf}, intensify = #{intensify}, is_cold = #{isCold}, cold_body = #{coldBody}, sweat = #{sweat}, other = #{other}, toilet = #{toilet}, eat = #{eat}, menses = #{menses}, medicine = #{medicine}, constitution = #{constitution}, recommend_medicine = #{recommendMedicine}, consult_product = #{consultProduct}, is_buy = #{isBuy}, buy_product = #{buyProduct}, create_time = #{createTime}, update_time = #{updateTime}, disease = #{disease}, is_line = #{isLine}, course = #{course}, product_talk = #{productTalk}, disease_talk = #{diseaseTalk}, where external_contact_id = #{externalContactId} delete from qw_external_contact_info where id = #{id} delete from qw_external_contact_info where id in #{id}