id, dun_id, dum_by, dum_time, remarks, attachment_url, `type`, order_no
delete from t_dun_log
where id = #{id,jdbcType=VARCHAR}
insert into t_dun_log (id, dun_id, dum_by,
dum_time, remarks, attachment_url,
`type`, order_no)
values (#{id,jdbcType=VARCHAR}, #{dunId,jdbcType=VARCHAR}, #{dumBy,jdbcType=VARCHAR},
#{dumTime,jdbcType=DATE}, #{remarks,jdbcType=VARCHAR}, #{attachmentUrl,jdbcType=VARCHAR},
#{type,jdbcType=INTEGER}, #{orderNo,jdbcType=VARCHAR})
insert into t_dun_log
id,
dun_id,
dum_by,
dum_time,
remarks,
attachment_url,
`type`,
order_no,
#{id,jdbcType=VARCHAR},
#{dunId,jdbcType=VARCHAR},
#{dumBy,jdbcType=VARCHAR},
#{dumTime,jdbcType=DATE},
#{remarks,jdbcType=VARCHAR},
#{attachmentUrl,jdbcType=VARCHAR},
#{type,jdbcType=INTEGER},
#{orderNo,jdbcType=VARCHAR},
update t_dun_log
dun_id = #{dunId,jdbcType=VARCHAR},
dum_by = #{dumBy,jdbcType=VARCHAR},
dum_time = #{dumTime,jdbcType=DATE},
remarks = #{remarks,jdbcType=VARCHAR},
attachment_url = #{attachmentUrl,jdbcType=VARCHAR},
`type` = #{type,jdbcType=INTEGER},
order_no = #{orderNo,jdbcType=VARCHAR},
where id = #{id,jdbcType=VARCHAR}
update t_dun_log
set dun_id = #{dunId,jdbcType=VARCHAR},
dum_by = #{dumBy,jdbcType=VARCHAR},
dum_time = #{dumTime,jdbcType=DATE},
remarks = #{remarks,jdbcType=VARCHAR},
attachment_url = #{attachmentUrl,jdbcType=VARCHAR},
`type` = #{type,jdbcType=INTEGER},
order_no = #{orderNo,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}