select id, healthy_id, waist, hipline, eat_fruits_message, long_eat_drug_message, medication_compliance,adverse_reactions_flag,adverse_reactions,
blood_sugar_message, depressed_state_message, blood_pressure_message, anxiety_state_message, menstruation_messag,
gastrointestinal_message,postpartum_conditioning_message,hypertension_message,hyperlipidemia_message,del_flag
from sys_customer_healthy_extended
insert into sys_customer_healthy_extended
healthy_id,
waist,
hipline,
eat_fruits_message,
long_eat_drug_message,
medication_compliance,
adverse_reactions_flag,
adverse_reactions,
blood_sugar_message,
depressed_state_message,
blood_pressure_message,
anxiety_state_message,
menstruation_message,
gastrointestinal_message,
postpartum_conditioning_message,
hypertension_message,
hyperlipidemia_message,
del_flag,
#{healthyId},
#{waist},
#{hipline},
#{eatFruitsMessage},
#{longEatDrugMessage},
#{medicationCompliance},
#{adverseReactionsFlag},
#{adverseReactions},
#{bloodSugarMessage},
#{depressedStateMessage},
#{bloodPressureMessage},
#{anxietyStateMessage},
#{menstruationMessage},
#{gastrointestinalMessage},
#{postpartumConditioningMessage},
#{hypertensionMessage},
#{hyperlipidemiaMessage},
#{delFlag},
update sys_customer_healthy_extended
healthy_id = #{healthyId},
waist = #{waist},
hipline = #{hipline},
eat_fruits_message = #{eatFruitsMessage},
long_eat_drug_message = #{longEatDrugMessage},
medication_compliance = #{medicationCompliance},
adverse_reactions_flag = #{adverseReactionsFlag},
adverse_reactions = #{adverseReactions},
blood_sugar_message = #{bloodSugarMessage},
depressed_state_message = #{depressedStateMessage},
blood_pressure_message = #{bloodPressureMessage},
anxiety_state_message = #{anxietyStateMessage},
menstruation_message = #{menstruationMessage},
gastrointestinal_message = #{gastrointestinalMessage},
postpartum_conditioning_message = #{postpartumConditioningMessage},
hypertension_message = #{hypertensionMessage},
hyperlipidemia_message = #{hyperlipidemiaMessage},
del_flag = #{delFlag},
where id = #{id}
update sys_customer_healthy_extended set del_flag = 1 where id = #{id}
update sys_customer_healthy_extended set del_flag = 1 where id in
#{id}