select id, customer_id, edible_date, max_heat_value, heat_value, protein_heat,fat_heat,carbon_water_heat,heat_gap, create_time, create_by, update_time, update_by, del_flag from sys_customer_heat_statistics insert into sys_customer_heat_statistics customer_id, edible_date, max_heat_value, heat_value, heat_gap, protein_heat, create_time, fat_heat, create_by, carbon_water_heat, update_time, update_by, del_flag, #{customerId}, #{edibleDate}, #{maxHeatValue}, #{heatValue}, #{heatGap}, #{proteinHeat}, #{createTime}, #{fatHeat}, #{createBy}, #{carbonWaterHeat}, #{updateTime}, #{updateBy}, #{delFlag}, update sys_customer_heat_statistics customer_id = #{customerId}, edible_date = #{edibleDate}, max_heat_value = #{maxHeatValue}, heat_value = #{heatValue}, heat_gap = #{heatGap}, protein_heat = #{proteinHeat}, create_time = #{createTime}, fat_heat = #{fatHeat}, create_by = #{createBy}, carbon_water_heat = #{carbonWaterHeat}, update_time = #{updateTime}, update_by = #{updateBy}, del_flag = #{delFlag}, where id = #{id} update sys_customer_heat_statistics set del_flag = 1 where id = #{id} update sys_customer_heat_statistics set del_flag = 1 where id in #{id}