id, term_id, channel_id, schedule_id,request_id, status,create_time, update_time
delete from terminal_schedule_temp
where id = #{id,jdbcType=INTEGER}
insert into terminal_schedule_temp (id, term_id, channel_id,
schedule_id, create_time, update_time
)
values (#{id,jdbcType=INTEGER}, #{termId,jdbcType=INTEGER}, #{channelId,jdbcType=INTEGER},
#{scheduleId,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
)
insert into terminal_schedule_temp
(term_id, channel_id,
schedule_id, request_id,status,create_time, update_time)
values
(#{item.termId},#{item.channelId},#{item.scheduleId},#{item.requestId},#{status},#{createat},#{updateat})
insert into terminal_schedule_temp
term_id,
channel_id,
schedule_id,
request_id,
status,
offset,
create_time,
update_time,
#{termId,jdbcType=INTEGER},
#{channelId,jdbcType=INTEGER},
#{scheduleId,jdbcType=INTEGER},
#{requestId},
#{status},
#{offset},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},
update terminal_schedule_temp
status = #{status},
update_time = #{updateat},
where request_id in
#{id}
update terminal_schedule_temp
term_id = #{termId,jdbcType=INTEGER},
channel_id = #{channelId,jdbcType=INTEGER},
schedule_id = #{scheduleId,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=INTEGER}
update terminal_schedule_temp
set term_id = #{termId,jdbcType=INTEGER},
channel_id = #{channelId,jdbcType=INTEGER},
schedule_id = #{scheduleId,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=INTEGER}