select sch.id, customer_id, conditioning_project_id, sex, age, weight, tall, condiment, other_condiment, cooking_style, cooking_style_rate, wash_vegetables_style, other_wash_vegetables_style, breakfast_type, breakfast_food, lunch_type, dinner, vegetable_rate, common_meat, dinner_time, supper_num, supper_food, diet_hot_and_cold, diet_flavor, vegetables_num, vegetables_rate_type, fruits_num, fruits_time, fruits_rate, rice_num, rice_full, eating_speed, snacks, other_snacks, health_products_flag, health_products_brand, health_products_name, health_products_week_rate, health_products_day_rate, water_num, water_type, water_habit, drinks_num, drink_wine_flag, drink_wine_classify, other_wine_classify, drink_wine_amount, smoke_flag, smoke_rate, second_smoke, work_industry, work_type, defecation_num, other_defecation_num, defecation_time, defecation_shape, defecation_smell, defecation_speed, defecation_color, motion_num, motion_duration, motion_time, aerobic_motion_classify, anaerobic_motion_classify, anaerobic_aerobic_motion_classify, other_motion_classify, motion_field, other_motion_field, sleep_time, sleep_quality, sleep_drug_flag, sleep_drug, stayup_late_flag, stayup_late_week_num, family_illness_history, other_family_illness_history, operation_history, other_operation_history, near_operation_flag, recoverye_situation, long_eat_drug_flag, long_eat_drug_classify, other_long_eat_drug_classify, allergy_flag, allergy_situation, allergen, other_allergen, medical_report, medical_report_name,
position,experience,rebound,difficulty,crux,dishes_ingredient,make_food_type,physical_signs_id,other_physical_signs,blood_data,moisture_date,
sch.create_time, sch.create_by,sch. update_time, sch.update_by, sch.del_flag
insert into sys_customer_healthy
id,
customer_id,
conditioning_project_id,
sex,
age,
tall,
weight,
condiment,
other_condiment,
cooking_style,
cooking_style_rate,
wash_vegetables_style,
other_wash_vegetables_style,
breakfast_type,
breakfast_food,
lunch_type,
dinner,
vegetable_rate,
common_meat,
dinner_time,
supper_num,
supper_food,
diet_hot_and_cold,
diet_flavor,
vegetables_num,
vegetables_rate_type,
fruits_num,
fruits_time,
fruits_rate,
rice_num,
rice_full,
eating_speed,
snacks,
other_snacks,
health_products_flag,
health_products_brand,
health_products_name,
health_products_week_rate,
health_products_day_rate,
water_num,
water_type,
water_habit,
drinks_num,
drink_wine_flag,
drink_wine_classify,
other_wine_classify,
drink_wine_amount,
smoke_flag,
smoke_rate,
second_smoke,
work_industry,
work_type,
defecation_num,
other_defecation_num,
defecation_time,
defecation_shape,
defecation_smell,
defecation_speed,
defecation_color,
motion_num,
motion_duration,
motion_time,
aerobic_motion_classify,
anaerobic_motion_classify,
anaerobic_aerobic_motion_classify,
other_motion_classify,
motion_field,
other_motion_field,
sleep_time,
sleep_quality,
sleep_drug_flag,
sleep_drug,
stayup_late_flag,
stayup_late_week_num,
family_illness_history,
other_family_illness_history,
operation_history,
other_operation_history,
near_operation_flag,
recoverye_situation,
long_eat_drug_flag,
long_eat_drug_classify,
other_long_eat_drug_classify,
allergy_flag,
allergy_situation,
allergen,
other_allergen,
medical_report,
medical_report_name,
position,
experience,
rebound,
difficulty,
crux,
dishes_ingredient,
make_food_type,
physical_signs_id,
other_physical_signs,
blood_data,
moisture_date,
create_time,
create_by,
update_time,
update_by,
del_flag,
#{id},
#{customerId},
#{conditioningProjectId},
#{sex},
#{age},
#{tall},
#{weight},
#{condiment},
#{otherCondiment},
#{cookingStyle},
#{cookingStyleRate},
#{washVegetablesStyle},
#{otherWashVegetablesStyle},
#{breakfastType},
#{breakfastFood},
#{lunchType},
#{dinner},
#{vegetableRate},
#{commonMeat},
#{dinnerTime},
#{supperNum},
#{supperFood},
#{dietHotAndCold},
#{dietFlavor},
#{vegetablesNum},
#{vegetablesRateType},
#{fruitsNum},
#{fruitsTime},
#{fruitsRate},
#{riceNum},
#{riceFull},
#{eatingSpeed},
#{snacks},
#{otherSnacks},
#{healthProductsFlag},
#{healthProductsBrand},
#{healthProductsName},
#{healthProductsWeekRate},
#{healthProductsDayRate},
#{waterNum},
#{waterType},
#{waterHabit},
#{drinksNum},
#{drinkWineFlag},
#{drinkWineClassify},
#{otherWineClassify},
#{drinkWineAmount},
#{smokeFlag},
#{smokeRate},
#{secondSmoke},
#{workIndustry},
#{workType},
#{defecationNum},
#{otherDefecationNum},
#{defecationTime},
#{defecationShape},
#{defecationSmell},
#{defecationSpeed},
#{defecationColor},
#{motionNum},
#{motionDuration},
#{motionTime},
#{aerobicMotionClassify},
#{anaerobicMotionClassify},
#{anaerobicAerobicMotionClassify},
#{otherMotionClassify},
#{motionField},
#{otherMotionField},
#{sleepTime},
#{sleepQuality},
#{sleepDrugFlag},
#{sleepDrug},
#{stayupLateFlag},
#{stayupLateWeekNum},
#{familyIllnessHistory},
#{otherFamilyIllnessHistory},
#{operationHistory},
#{otherOperationHistory},
#{nearOperationFlag},
#{recoveryeSituation},
#{longEatDrugFlag},
#{longEatDrugClassify},
#{otherLongEatDrugClassify},
#{allergyFlag},
#{allergySituation},
#{allergen},
#{otherAllergen},
#{medicalReport},
#{medicalReportName},
#{position},
#{experience},
#{rebound},
#{difficulty},
#{crux},
#{dishesIngredient},
#{makeFoodType},
#{physicalSignsId},
#{otherPhysicalSigns},
#{bloodData},
#{moistureDate},
#{createTime},
#{createBy},
#{updateTime},
#{updateBy},
#{delFlag},
update sys_customer_healthy
customer_id = #{customerId},
conditioning_project_id = #{conditioningProjectId},
sex = #{sex},
age = #{age},
tall = #{tall},
weight = #{weight},
condiment = #{condiment},
other_condiment = #{otherCondiment},
cooking_style = #{cookingStyle},
cooking_style_rate = #{cookingStyleRate},
wash_vegetables_style = #{washVegetablesStyle},
other_wash_vegetables_style = #{otherWashVegetablesStyle},
breakfast_type = #{breakfastType},
breakfast_food = #{breakfastFood},
lunch_type = #{lunchType},
dinner = #{dinner},
vegetable_rate = #{vegetableRate},
common_meat = #{commonMeat},
dinner_time = #{dinnerTime},
supper_num = #{supperNum},
supper_food = #{supperFood},
diet_hot_and_cold = #{dietHotAndCold},
diet_flavor = #{dietFlavor},
vegetables_num = #{vegetablesNum},
vegetables_rate_type = #{vegetablesRateType},
fruits_num = #{fruitsNum},
fruits_time = #{fruitsTime},
fruits_rate = #{fruitsRate},
rice_num = #{riceNum},
rice_full = #{riceFull},
eating_speed = #{eatingSpeed},
snacks = #{snacks},
other_snacks = #{otherSnacks},
health_products_flag = #{healthProductsFlag},
health_products_brand = #{healthProductsBrand},
health_products_name = #{healthProductsName},
health_products_week_rate = #{healthProductsWeekRate},
health_products_day_rate = #{healthProductsDayRate},
water_num = #{waterNum},
water_type = #{waterType},
water_habit = #{waterHabit},
drinks_num = #{drinksNum},
drink_wine_flag = #{drinkWineFlag},
drink_wine_classify = #{drinkWineClassify},
other_wine_classify = #{otherWineClassify},
drink_wine_amount = #{drinkWineAmount},
smoke_flag = #{smokeFlag},
smoke_rate = #{smokeRate},
second_smoke = #{secondSmoke},
work_industry = #{workIndustry},
work_type = #{workType},
defecation_num = #{defecationNum},
other_defecation_num = #{otherDefecationNum},
defecation_time = #{defecationTime},
defecation_shape = #{defecationShape},
defecation_smell = #{defecationSmell},
defecation_speed = #{defecationSpeed},
defecation_color = #{defecationColor},
motion_num = #{motionNum},
motion_duration = #{motionDuration},
motion_time = #{motionTime},
aerobic_motion_classify = #{aerobicMotionClassify},
anaerobic_motion_classify = #{anaerobicMotionClassify},
anaerobic_aerobic_motion_classify = #{anaerobicAerobicMotionClassify},
other_motion_classify = #{otherMotionClassify},
motion_field = #{motionField},
other_motion_field = #{otherMotionField},
sleep_time = #{sleepTime},
sleep_quality = #{sleepQuality},
sleep_drug_flag = #{sleepDrugFlag},
sleep_drug = #{sleepDrug},
stayup_late_flag = #{stayupLateFlag},
stayup_late_week_num = #{stayupLateWeekNum},
family_illness_history = #{familyIllnessHistory},
other_family_illness_history = #{otherFamilyIllnessHistory},
operation_history = #{operationHistory},
other_operation_history = #{otherOperationHistory},
near_operation_flag = #{nearOperationFlag},
recoverye_situation = #{recoveryeSituation},
long_eat_drug_flag = #{longEatDrugFlag},
long_eat_drug_classify = #{longEatDrugClassify},
other_long_eat_drug_classify = #{otherLongEatDrugClassify},
allergy_flag = #{allergyFlag},
allergy_situation = #{allergySituation},
allergen = #{allergen},
other_allergen = #{otherAllergen},
medical_report = #{medicalReport},
medical_report_name = #{medicalReportName},
position = #{position},
experience = #{experience},
rebound = #{rebound},
difficulty = #{difficulty},
crux = #{crux},
dishes_ingredient = #{dishesIngredient},
make_food_type = #{makeFoodType},
physical_signs_id = #{physicalSignsId},
other_physical_signs = #{otherPhysicalSigns},
blood_data = #{bloodData},
moisture_date = #{moistureDate},
create_time = #{createTime},
create_by = #{createBy},
update_time = #{updateTime},
update_by = #{updateBy},
del_flag = #{delFlag},
where id = #{id}
update sys_customer_healthy set del_flag = 1 where id = #{id}
update sys_customer_healthy set del_flag = 1 where id in
#{id}