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, create_time, c_id, c_time, u_id, u_time
record
delete from daily_record_events_new
where id = #{id,jdbcType=INTEGER}
delete from daily_record_events_new
insert into daily_record_events_new (id, house_id, grain_id,
create_time, c_id, c_time,
u_id, u_time, record
)
values (#{id,jdbcType=INTEGER}, #{houseId,jdbcType=INTEGER}, #{grainId,jdbcType=INTEGER},
#{createTime,jdbcType=VARCHAR}, #{cId,jdbcType=INTEGER}, #{cTime,jdbcType=TIMESTAMP},
#{uId,jdbcType=INTEGER}, #{uTime,jdbcType=TIMESTAMP}, #{record,jdbcType=LONGVARCHAR}
)
insert into daily_record_events_new
id,
house_id,
grain_id,
create_time,
c_id,
c_time,
u_id,
u_time,
record,
#{id,jdbcType=INTEGER},
#{houseId,jdbcType=INTEGER},
#{grainId,jdbcType=INTEGER},
#{createTime,jdbcType=VARCHAR},
#{cId,jdbcType=INTEGER},
#{cTime,jdbcType=TIMESTAMP},
#{uId,jdbcType=INTEGER},
#{uTime,jdbcType=TIMESTAMP},
#{record,jdbcType=LONGVARCHAR},
update daily_record_events_new
id = #{record.id,jdbcType=INTEGER},
house_id = #{record.houseId,jdbcType=INTEGER},
grain_id = #{record.grainId,jdbcType=INTEGER},
create_time = #{record.createTime,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},
record = #{record.record,jdbcType=LONGVARCHAR},
update daily_record_events_new
set id = #{record.id,jdbcType=INTEGER},
house_id = #{record.houseId,jdbcType=INTEGER},
grain_id = #{record.grainId,jdbcType=INTEGER},
create_time = #{record.createTime,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},
record = #{record.record,jdbcType=LONGVARCHAR}
update daily_record_events_new
set id = #{record.id,jdbcType=INTEGER},
house_id = #{record.houseId,jdbcType=INTEGER},
grain_id = #{record.grainId,jdbcType=INTEGER},
create_time = #{record.createTime,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_events_new
house_id = #{houseId,jdbcType=INTEGER},
grain_id = #{grainId,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=VARCHAR},
c_id = #{cId,jdbcType=INTEGER},
c_time = #{cTime,jdbcType=TIMESTAMP},
u_id = #{uId,jdbcType=INTEGER},
u_time = #{uTime,jdbcType=TIMESTAMP},
record = #{record,jdbcType=LONGVARCHAR},
where id = #{id,jdbcType=INTEGER}
update daily_record_events_new
set house_id = #{houseId,jdbcType=INTEGER},
grain_id = #{grainId,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=VARCHAR},
c_id = #{cId,jdbcType=INTEGER},
c_time = #{cTime,jdbcType=TIMESTAMP},
u_id = #{uId,jdbcType=INTEGER},
u_time = #{uTime,jdbcType=TIMESTAMP},
record = #{record,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=INTEGER}
update daily_record_events_new
set house_id = #{houseId,jdbcType=INTEGER},
grain_id = #{grainId,jdbcType=INTEGER},
create_time = #{createTime,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}