task_id, job_name, context, task_state,remark, create_time, update_time, complete_time
delete from sc_job_task
where task_id = #{taskId,jdbcType=INTEGER}
insert into sc_job_task (task_id, job_name, context,
task_state, remark,create_time, update_time,
complete_time)
values (#{taskId,jdbcType=INTEGER}, #{jobName,jdbcType=VARCHAR}, #{context,jdbcType=VARCHAR},
#{taskState,jdbcType=INTEGER},#{remark,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
#{completeTime,jdbcType=TIMESTAMP})
insert into sc_job_task
task_id,
job_name,
context,
task_state,
remark,
create_time,
update_time,
complete_time,
#{taskId,jdbcType=INTEGER},
#{jobName,jdbcType=VARCHAR},
#{context,jdbcType=VARCHAR},
#{taskState,jdbcType=INTEGER},
#{remark,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},
#{completeTime,jdbcType=TIMESTAMP},
update sc_job_task
job_name = #{jobName,jdbcType=VARCHAR},
context = #{context,jdbcType=VARCHAR},
task_state = #{taskState,jdbcType=INTEGER},
remark = #{remark,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
complete_time = #{completeTime,jdbcType=TIMESTAMP},
where task_id = #{taskId,jdbcType=INTEGER}
update sc_job_task
set job_name = #{jobName,jdbcType=VARCHAR},
context = #{context,jdbcType=VARCHAR},
task_state = #{taskState,jdbcType=INTEGER},
remark = #{remark,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
complete_time = #{completeTime,jdbcType=TIMESTAMP}
where task_id = #{taskId,jdbcType=INTEGER}
insert into sc_job_task
(task_id, job_name, context, task_state,remark, create_time, update_time, complete_time)
values
(#{item.taskId,jdbcType=INTEGER}, #{item.jobName,jdbcType=VARCHAR}, #{item.context,jdbcType=VARCHAR},
#{item.taskState,jdbcType=INTEGER},#{item.remark,jdbcType=VARCHAR},
#{item.createTime,jdbcType=TIMESTAMP}, #{item.updateTime,jdbcType=TIMESTAMP},
#{item.completeTime,jdbcType=TIMESTAMP})