SAR_UPD_LOG.id, sar_type, sar_id, content, SAR_UPD_LOG.creation_time,SAR_UPD_LOG.creation_user
where 1=1
and id ${idOperator} #{id}
and sar_type ${sarTypeOperator} #{sarType}
and sar_id ${sarIdOperator} #{sarId}
and content ${contentOperator} #{content}
and creation_time ${creationTimeOperator} #{creationTime}
and creation_time >= #{creationTime1}
and creation_time <= #{creationTime2}
insert into SAR_UPD_LOG()
values (#{id, jdbcType=VARCHAR}, #{sarType, jdbcType=VARCHAR}, #{sarId, jdbcType=VARCHAR}, #{content, jdbcType=CLOB}, #{creationTime, jdbcType=TIMESTAMP})
insert into SAR_UPD_LOG
id,
sar_type,
sar_id,
content,
creation_time,
creation_user,
#{id, jdbcType=VARCHAR},
#{sarType, jdbcType=VARCHAR},
#{sarId, jdbcType=VARCHAR},
#{content, jdbcType=CLOB},
#{creationTime, jdbcType=TIMESTAMP},
#{creationUser, jdbcType=VARCHAR},
update SAR_UPD_LOG
set sar_type = #{sarType},
sar_id = #{sarId},
content = #{content},
creation_time = #{creationTime}
where id = #{id}
update SAR_UPD_LOG
sar_type = #{sarType},
sar_id = #{sarId},
content = #{content},
creation_time = #{creationTime},
creation_user = #{creationUser},
where id = #{id}
delete from SAR_UPD_LOG
where id = #{value}