id, cid, record_time, status, principal, operator, comment
delete from contract_log
where id = #{id,jdbcType=VARCHAR}
insert into contract_log (id, cid, record_time,
status, principal, operator,
comment)
values (#{id,jdbcType=VARCHAR}, #{cid,jdbcType=VARCHAR}, #{recordTime,jdbcType=TIMESTAMP},
#{status,jdbcType=INTEGER}, #{principal,jdbcType=VARCHAR}, #{operator,jdbcType=VARCHAR},
#{comment,jdbcType=VARCHAR})
insert into contract_log
id,
cid,
record_time,
status,
principal,
operator,
comment,
#{id,jdbcType=VARCHAR},
#{cid,jdbcType=VARCHAR},
#{recordTime,jdbcType=TIMESTAMP},
#{status,jdbcType=INTEGER},
#{principal,jdbcType=VARCHAR},
#{operator,jdbcType=VARCHAR},
#{comment,jdbcType=VARCHAR},
update contract_log
cid = #{cid,jdbcType=VARCHAR},
record_time = #{recordTime,jdbcType=TIMESTAMP},
status = #{status,jdbcType=INTEGER},
principal = #{principal,jdbcType=VARCHAR},
operator = #{operator,jdbcType=VARCHAR},
comment = #{comment,jdbcType=VARCHAR},
where id = #{id,jdbcType=VARCHAR}
update contract_log
set cid = #{cid,jdbcType=VARCHAR},
record_time = #{recordTime,jdbcType=TIMESTAMP},
status = #{status,jdbcType=INTEGER},
principal = #{principal,jdbcType=VARCHAR},
operator = #{operator,jdbcType=VARCHAR},
comment = #{comment,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}
insert into contract_log (id, cid, record_time, status, principal, operator, comment)
values
(
#{item.id,jdbcType=VARCHAR}, #{item.cid,jdbcType=VARCHAR}, #{item.recordTime,jdbcType=TIMESTAMP},
#{item.status,jdbcType=INTEGER}, #{item.principal,jdbcType=VARCHAR}, #{item.operator,jdbcType=VARCHAR},
#{item.comment,jdbcType=VARCHAR}
)