id ,
uuid ,
house_id ,
`type` ,
content ,
htype ,
check_date ,
food_color ,
pest_position ,
pest_type ,
pest_volum ,
pest_level ,
water_position ,
water_area ,
water_depth ,
water_heightest ,
in_temp ,
out_temp ,
in_water ,
out_water ,
max_temp ,
min_temp,
avg_temp,
maxtemp_position ,
check_situation ,
treatment_advice ,
check_sign ,
custodian_sign ,
remark ,
c_id ,
c_time ,
u_id ,
u_time ,
version,
xzflag,
nonormal_type,
nonormal_position,
nonormal_domain,
nonormal_temp,
nonormal_water,
mouse_record,
sect_record,
bad_record,
accident_record
INSERT INTO daily_record_foodcheckinfo
id,
uuid,
house_id,
`type`,
content,
htype,
check_date,
food_color,
pest_position,
pest_type,
pest_volum,
pest_level,
water_position,
water_area,
water_depth,
water_heightest,
in_temp,
out_temp,
in_water,
out_water,
max_temp,
maxtemp_position,
check_situation,
treatment_advice,
check_sign,
custodian_sign,
remark,
c_id,
c_time,
u_id,
u_time,
version,
xzflag,
nonormal_type,
nonormal_position,
nonormal_domain,
nonormal_temp,
nonormal_water,
mouse_record,
sect_record,
bad_record,
accident_record,
min_temp,
avg_temp
#{id},
#{uuid},
#{houseId},
#{type},
#{content},
#{htype},
#{checkDate},
#{foodColor},
#{pestPosition},
#{pestType},
#{pestVolum},
#{pestLevel},
#{waterPosition},
#{waterArea},
#{waterDepth},
#{waterHeightest},
#{inTemp},
#{outTemp},
#{inWater},
#{outWater},
#{maxTemp},
#{maxtempPosition},
#{checkSituation},
#{treatmentAdvice},
#{checkSign},
#{custodianSign},
#{remark},
#{cId},
#{cTime},
#{uId},
#{uTime},
#{version},
#{xzflag},
#{nonormalType},
#{nonormalPosition},
#{nonormalDomain},
#{nonormalTemp},
#{nonormalWater},
#{mouseRecord},
#{sectRecord},
#{badRecord},
#{accidentRecord},
#{minTemp},
#{avgTemp}
UPDATE daily_record_foodcheckinfo
id= #{id} ,
uuid= #{uuid} ,
house_id= #{houseId} ,
`type`= #{type} ,
content= #{content} ,
htype= #{htype} ,
check_date= #{checkDate} ,
food_color= #{foodColor} ,
pest_position= #{pestPosition} ,
pest_type= #{pestType} ,
pest_volum= #{pestVolum} ,
pest_level = #{pestLevel} ,
water_position= #{waterPosition} ,
water_area= #{waterArea} ,
water_depth= #{waterDepth} ,
water_heightest= #{waterHeightest} ,
in_temp = #{inTemp} ,
out_temp = #{outTemp} ,
in_water = #{inWater} ,
out_water = #{outWater} ,
max_temp = #{maxTemp} ,
maxtemp_position = #{maxtempPosition} ,
check_situation= #{checkSituation} ,
treatment_advice= #{treatmentAdvice} ,
check_sign= #{checkSign} ,
custodian_sign= #{custodianSign} ,
remark= #{remark} ,
c_id= #{cId} ,
c_time= #{cTime} ,
u_id= #{uId} ,
u_time= #{uTime} ,
version= #{version},
xzflag= #{xzflag},
# 二期增加字段
nonormal_type = #{nonormalType},
nonormal_position = #{nonormalPosition},
nonormal_domain = #{nonormalDomain},
nonormal_temp = #{nonormalTemp},
nonormal_water = #{nonormalWater},
mouse_record = #{mouseRecord},
sect_record = #{sectRecord},
bad_record = #{badRecord},
accident_record = #{accidentRecord},
min_temp = #{minTemp},
avg_temp = #{avgTemp}
WHERE id = #{id}
UPDATE daily_record_foodcheckinfo
house_id= #{houseId} ,
`type`= #{type} ,
content= #{content} ,
htype= #{htype} ,
check_date= #{checkDate} ,
food_color= #{foodColor} ,
pest_position= #{pestPosition} ,
pest_type= #{pestType} ,
pest_volum= #{pestVolum} ,
pest_level = #{pestLevel} ,
water_position= #{waterPosition} ,
water_area= #{waterArea} ,
water_depth= #{waterDepth} ,
water_heightest= #{waterHeightest} ,
in_temp = #{inTemp} ,
out_temp = #{outTemp} ,
in_water = #{inWater} ,
out_water = #{outWater} ,
max_temp = #{maxTemp} ,
maxtemp_position = #{maxtempPosition} ,
check_situation= #{checkSituation} ,
treatment_advice= #{treatmentAdvice} ,
check_sign= #{checkSign} ,
custodian_sign= #{custodianSign} ,
remark= #{remark} ,
c_id= #{cId} ,
c_time= #{cTime} ,
u_id= #{uId} ,
u_time= #{uTime} ,
WHERE uuid = #{uuid}
DELETE FROM daily_record_foodcheckinfo WHERE id = #{id}
DELETE FROM daily_record_foodcheckinfo WHERE id IN
#{item}
DELETE FROM daily_record_foodcheckinfo
WHERE house_id = #{houseId}
AND check_date #{cTime}