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, house_id, grain_id, location, check_date, checker_unit, check_content, check_idea,
checker, c_id, c_time, u_id, u_time
delete from daily_record_check_new
where id = #{id,jdbcType=INTEGER}
delete from daily_record_check_new
insert into daily_record_check_new (id, house_id, grain_id,
location, check_date, checker_unit,
check_content, check_idea, checker,
c_id, c_time, u_id,
u_time)
values (#{id,jdbcType=INTEGER}, #{houseId,jdbcType=INTEGER}, #{grainId,jdbcType=INTEGER},
#{location,jdbcType=VARCHAR}, #{checkDate,jdbcType=VARCHAR}, #{checkerUnit,jdbcType=VARCHAR},
#{checkContent,jdbcType=VARCHAR}, #{checkIdea,jdbcType=VARCHAR}, #{checker,jdbcType=VARCHAR},
#{cId,jdbcType=INTEGER}, #{cTime,jdbcType=TIMESTAMP}, #{uId,jdbcType=INTEGER},
#{uTime,jdbcType=TIMESTAMP})
insert into daily_record_check_new
id,
house_id,
grain_id,
location,
check_date,
checker_unit,
check_content,
check_idea,
checker,
c_id,
c_time,
u_id,
u_time,
#{id,jdbcType=INTEGER},
#{houseId,jdbcType=INTEGER},
#{grainId,jdbcType=INTEGER},
#{location,jdbcType=VARCHAR},
#{checkDate,jdbcType=VARCHAR},
#{checkerUnit,jdbcType=VARCHAR},
#{checkContent,jdbcType=VARCHAR},
#{checkIdea,jdbcType=VARCHAR},
#{checker,jdbcType=VARCHAR},
#{cId,jdbcType=INTEGER},
#{cTime,jdbcType=TIMESTAMP},
#{uId,jdbcType=INTEGER},
#{uTime,jdbcType=TIMESTAMP},
update daily_record_check_new
id = #{record.id,jdbcType=INTEGER},
house_id = #{record.houseId,jdbcType=INTEGER},
grain_id = #{record.grainId,jdbcType=INTEGER},
location = #{record.location,jdbcType=VARCHAR},
check_date = #{record.checkDate,jdbcType=VARCHAR},
checker_unit = #{record.checkerUnit,jdbcType=VARCHAR},
check_content = #{record.checkContent,jdbcType=VARCHAR},
check_idea = #{record.checkIdea,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_check_new
set id = #{record.id,jdbcType=INTEGER},
house_id = #{record.houseId,jdbcType=INTEGER},
grain_id = #{record.grainId,jdbcType=INTEGER},
location = #{record.location,jdbcType=VARCHAR},
check_date = #{record.checkDate,jdbcType=VARCHAR},
checker_unit = #{record.checkerUnit,jdbcType=VARCHAR},
check_content = #{record.checkContent,jdbcType=VARCHAR},
check_idea = #{record.checkIdea,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_check_new
house_id = #{houseId,jdbcType=INTEGER},
grain_id = #{grainId,jdbcType=INTEGER},
location = #{location,jdbcType=VARCHAR},
check_date = #{checkDate,jdbcType=VARCHAR},
checker_unit = #{checkerUnit,jdbcType=VARCHAR},
check_content = #{checkContent,jdbcType=VARCHAR},
check_idea = #{checkIdea,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_check_new
set house_id = #{houseId,jdbcType=INTEGER},
grain_id = #{grainId,jdbcType=INTEGER},
location = #{location,jdbcType=VARCHAR},
check_date = #{checkDate,jdbcType=VARCHAR},
checker_unit = #{checkerUnit,jdbcType=VARCHAR},
check_content = #{checkContent,jdbcType=VARCHAR},
check_idea = #{checkIdea,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}