id, tid, `type`, `status`, reason, create_by, create_time, annex_url
delete from task_sopt
where id = #{id,jdbcType=BIGINT}
insert into task_sopt (tid, `type`, `status`,
reason, create_by, create_time,
annex_url)
values (#{tid,jdbcType=INTEGER}, #{type,jdbcType=INTEGER}, #{status,jdbcType=INTEGER},
#{reason,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{annexUrl,jdbcType=VARCHAR})
insert into task_sopt
tid,
`type`,
`status`,
reason,
create_by,
create_time,
annex_url,
#{tid,jdbcType=INTEGER},
#{type,jdbcType=INTEGER},
#{status,jdbcType=INTEGER},
#{reason,jdbcType=VARCHAR},
#{createBy,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{annexUrl,jdbcType=VARCHAR},
update task_sopt
tid = #{tid,jdbcType=INTEGER},
`type` = #{type,jdbcType=INTEGER},
`status` = #{status,jdbcType=INTEGER},
reason = #{reason,jdbcType=VARCHAR},
create_by = #{createBy,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
annex_url = #{annexUrl,jdbcType=VARCHAR},
where id = #{id,jdbcType=BIGINT}
update task_sopt
set tid = #{tid,jdbcType=INTEGER},
`type` = #{type,jdbcType=INTEGER},
`status` = #{status,jdbcType=INTEGER},
reason = #{reason,jdbcType=VARCHAR},
create_by = #{createBy,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
annex_url = #{annexUrl,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}
insert into task_sopt (`type`, `status`,tid,reason,
create_by, create_time)
values
(#{item.type,jdbcType=INTEGER}, #{item.status,jdbcType=INTEGER},#{item.tid,jdbcType=INTEGER},#{item.reason,jdbcType=VARCHAR},
#{item.createBy,jdbcType=VARCHAR}, #{item.createTime,jdbcType=TIMESTAMP})