and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
id,file_uuid, house_id, grain_id, check_date, check_end, check_start, check1, check2, check3,
check4, check5, check6, checker, checker,minimum, c_id, c_time, u_id, u_time
delete from daily_record_concentration_new_file
where id = #{id,jdbcType=INTEGER}
delete from daily_record_concentration_new_file
insert into daily_record_concentration_new_file (id,file_uuid, house_id, grain_id,
check_date, check_end, check_start,
check1, check2, check3,
check4, check5, check6,
checker, c_id, c_time,
u_id, u_time)
values (#{id,jdbcType=INTEGER}, #{fileUuid,jdbcType=INTEGER}, #{houseId,jdbcType=INTEGER}, #{grainId,jdbcType=INTEGER},
#{checkDate,jdbcType=VARCHAR}, #{checkEnd,jdbcType=VARCHAR}, #{checkStart,jdbcType=VARCHAR},
#{check1,jdbcType=VARCHAR}, #{check2,jdbcType=VARCHAR}, #{check3,jdbcType=VARCHAR},
#{check4,jdbcType=VARCHAR}, #{check5,jdbcType=VARCHAR}, #{check6,jdbcType=VARCHAR},
#{checker,jdbcType=VARCHAR}, #{cId,jdbcType=INTEGER}, #{cTime,jdbcType=TIMESTAMP},
#{uId,jdbcType=INTEGER}, #{uTime,jdbcType=TIMESTAMP})
insert into daily_record_concentration_new_file
id,
house_id,
grain_id,
check_date,
check_end,
check_start,
check1,
check2,
check3,
check4,
check5,
check6,
checker,
c_id,
c_time,
u_id,
u_time,
#{id,jdbcType=INTEGER},
#{houseId,jdbcType=INTEGER},
#{grainId,jdbcType=INTEGER},
#{checkDate,jdbcType=VARCHAR},
#{checkEnd,jdbcType=VARCHAR},
#{checkStart,jdbcType=VARCHAR},
#{check1,jdbcType=VARCHAR},
#{check2,jdbcType=VARCHAR},
#{check3,jdbcType=VARCHAR},
#{check4,jdbcType=VARCHAR},
#{check5,jdbcType=VARCHAR},
#{check6,jdbcType=VARCHAR},
#{checker,jdbcType=VARCHAR},
#{cId,jdbcType=INTEGER},
#{cTime,jdbcType=TIMESTAMP},
#{uId,jdbcType=INTEGER},
#{uTime,jdbcType=TIMESTAMP},
update daily_record_concentration_new_file
id = #{record.id,jdbcType=INTEGER},
house_id = #{record.houseId,jdbcType=INTEGER},
grain_id = #{record.grainId,jdbcType=INTEGER},
check_date = #{record.checkDate,jdbcType=VARCHAR},
check_end = #{record.checkEnd,jdbcType=VARCHAR},
check_start = #{record.checkStart,jdbcType=VARCHAR},
check1 = #{record.check1,jdbcType=VARCHAR},
check2 = #{record.check2,jdbcType=VARCHAR},
check3 = #{record.check3,jdbcType=VARCHAR},
check4 = #{record.check4,jdbcType=VARCHAR},
check5 = #{record.check5,jdbcType=VARCHAR},
check6 = #{record.check6,jdbcType=VARCHAR},
checker = #{record.checker,jdbcType=VARCHAR},
c_id = #{record.cId,jdbcType=INTEGER},
c_time = #{record.cTime,jdbcType=TIMESTAMP},
u_id = #{record.uId,jdbcType=INTEGER},
u_time = #{record.uTime,jdbcType=TIMESTAMP},
update daily_record_concentration_new_file
set id = #{record.id,jdbcType=INTEGER},
house_id = #{record.houseId,jdbcType=INTEGER},
grain_id = #{record.grainId,jdbcType=INTEGER},
check_date = #{record.checkDate,jdbcType=VARCHAR},
check_end = #{record.checkEnd,jdbcType=VARCHAR},
check_start = #{record.checkStart,jdbcType=VARCHAR},
check1 = #{record.check1,jdbcType=VARCHAR},
check2 = #{record.check2,jdbcType=VARCHAR},
check3 = #{record.check3,jdbcType=VARCHAR},
check4 = #{record.check4,jdbcType=VARCHAR},
check5 = #{record.check5,jdbcType=VARCHAR},
check6 = #{record.check6,jdbcType=VARCHAR},
checker = #{record.checker,jdbcType=VARCHAR},
c_id = #{record.cId,jdbcType=INTEGER},
c_time = #{record.cTime,jdbcType=TIMESTAMP},
u_id = #{record.uId,jdbcType=INTEGER},
u_time = #{record.uTime,jdbcType=TIMESTAMP}
update daily_record_concentration_new_file
house_id = #{houseId,jdbcType=INTEGER},
grain_id = #{grainId,jdbcType=INTEGER},
check_date = #{checkDate,jdbcType=VARCHAR},
check_end = #{checkEnd,jdbcType=VARCHAR},
check_start = #{checkStart,jdbcType=VARCHAR},
check1 = #{check1,jdbcType=VARCHAR},
check2 = #{check2,jdbcType=VARCHAR},
check3 = #{check3,jdbcType=VARCHAR},
check4 = #{check4,jdbcType=VARCHAR},
check5 = #{check5,jdbcType=VARCHAR},
check6 = #{check6,jdbcType=VARCHAR},
checker = #{checker,jdbcType=VARCHAR},
c_id = #{cId,jdbcType=INTEGER},
c_time = #{cTime,jdbcType=TIMESTAMP},
u_id = #{uId,jdbcType=INTEGER},
u_time = #{uTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=INTEGER}
update daily_record_concentration_new_file
set house_id = #{houseId,jdbcType=INTEGER},
grain_id = #{grainId,jdbcType=INTEGER},
check_date = #{checkDate,jdbcType=VARCHAR},
check_end = #{checkEnd,jdbcType=VARCHAR},
check_start = #{checkStart,jdbcType=VARCHAR},
check1 = #{check1,jdbcType=VARCHAR},
check2 = #{check2,jdbcType=VARCHAR},
check3 = #{check3,jdbcType=VARCHAR},
check4 = #{check4,jdbcType=VARCHAR},
check5 = #{check5,jdbcType=VARCHAR},
check6 = #{check6,jdbcType=VARCHAR},
checker = #{checker,jdbcType=VARCHAR},
c_id = #{cId,jdbcType=INTEGER},
c_time = #{cTime,jdbcType=TIMESTAMP},
u_id = #{uId,jdbcType=INTEGER},
u_time = #{uTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=INTEGER}