id,file_uuid, grain_id, house_id, location, house_type, type, number, prod_year, in_time, level,
water, impurity, lay_type, temperature_max, temperature_min, temperature_avg, is_density,
is_hot, is_condensation, location_length, location_widtn, location_height, is_check,
is_warm, is_lay, remark, checker, charge, uuid, c_id, c_time, u_id, u_time
delete from daily_record_house_check_new_file
where id = #{id}
insert into daily_record_house_check_new_file
id,
file_uuid,
grain_id,
house_id,
location,
house_type,
type,
number,
prod_year,
in_time,
level,
water,
impurity,
lay_type,
temperature_max,
temperature_min,
temperature_avg,
is_density,
is_hot,
is_condensation,
location_length,
location_widtn,
location_height,
is_check,
is_warm,
is_lay,
remark,
checker,
charge,
uuid,
c_id,
c_time,
u_id,
u_time,
#{id},
#{fileUuid},
#{grainId},
#{houseId},
#{location},
#{houseType},
#{type},
#{number},
#{prodYear},
#{inTime},
#{level},
#{water},
#{impurity},
#{layType},
#{temperatureMax},
#{temperatureMin},
#{temperatureAvg},
#{isDensity},
#{isHot},
#{isCondensation},
#{locationLength},
#{locationWidtn},
#{locationHeight},
#{isCheck},
#{isWarm},
#{isLay},
#{remark},
#{checker},
#{charge},
#{uuid},
#{cId},
#{cTime},
#{uId},
#{uTime},
update daily_record_house_check_new_file
grain_id = #{grainId},
house_id = #{houseId},
location = #{location},
house_type = #{houseType},
type = #{type},
number = #{number},
prod_year = #{prodYear},
in_time = #{inTime},
level = #{level},
water = #{water},
impurity = #{impurity},
lay_type = #{layType},
temperature_max = #{temperatureMax},
temperature_min = #{temperatureMin},
temperature_avg = #{temperatureAvg},
is_density = #{isDensity},
is_hot = #{isHot},
is_condensation = #{isCondensation},
location_length = #{locationLength},
location_widtn = #{locationWidtn},
location_height = #{locationHeight},
is_check = #{isCheck},
is_warm = #{isWarm},
is_lay = #{isLay},
remark = #{remark},
checker = #{checker},
charge = #{charge},
uuid = #{uuid},
c_id = #{cId},
c_time = #{cTime},
u_id = #{uId},
u_time = #{uTime},
where id = #{id}
delete from daily_record_house_check_new_file
where house_id=#{houseId}