and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
ID, LOCK_PERIOD, SF_LOCK, USE_STATE, CREATE_USER, CREATE_TIME, UPDATE_USER, UPDATE_TIME,
REMARK
delete from cw_bd_reportlock
where ID = #{id,jdbcType=VARCHAR}
delete from cw_bd_reportlock
insert into cw_bd_reportlock (ID, LOCK_PERIOD, SF_LOCK,
USE_STATE, CREATE_USER, CREATE_TIME,
UPDATE_USER, UPDATE_TIME, REMARK
)
values (#{id,jdbcType=VARCHAR}, #{lockPeriod,jdbcType=VARCHAR}, #{sfLock,jdbcType=VARCHAR},
#{useState,jdbcType=VARCHAR}, #{createUser,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{updateUser,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}
)
insert into cw_bd_reportlock
ID,
LOCK_PERIOD,
SF_LOCK,
USE_STATE,
CREATE_USER,
CREATE_TIME,
UPDATE_USER,
UPDATE_TIME,
REMARK,
#{id,jdbcType=VARCHAR},
#{lockPeriod,jdbcType=VARCHAR},
#{sfLock,jdbcType=VARCHAR},
#{useState,jdbcType=VARCHAR},
#{createUser,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{updateUser,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP},
#{remark,jdbcType=VARCHAR},
update cw_bd_reportlock
ID = #{record.id,jdbcType=VARCHAR},
LOCK_PERIOD = #{record.lockPeriod,jdbcType=VARCHAR},
SF_LOCK = #{record.sfLock,jdbcType=VARCHAR},
USE_STATE = #{record.useState,jdbcType=VARCHAR},
CREATE_USER = #{record.createUser,jdbcType=VARCHAR},
CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
UPDATE_USER = #{record.updateUser,jdbcType=VARCHAR},
UPDATE_TIME = #{record.updateTime,jdbcType=TIMESTAMP},
REMARK = #{record.remark,jdbcType=VARCHAR},
update cw_bd_reportlock
set ID = #{record.id,jdbcType=VARCHAR},
LOCK_PERIOD = #{record.lockPeriod,jdbcType=VARCHAR},
SF_LOCK = #{record.sfLock,jdbcType=VARCHAR},
USE_STATE = #{record.useState,jdbcType=VARCHAR},
CREATE_USER = #{record.createUser,jdbcType=VARCHAR},
CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
UPDATE_USER = #{record.updateUser,jdbcType=VARCHAR},
UPDATE_TIME = #{record.updateTime,jdbcType=TIMESTAMP},
REMARK = #{record.remark,jdbcType=VARCHAR}
update cw_bd_reportlock
LOCK_PERIOD = #{lockPeriod,jdbcType=VARCHAR},
SF_LOCK = #{sfLock,jdbcType=VARCHAR},
USE_STATE = #{useState,jdbcType=VARCHAR},
CREATE_USER = #{createUser,jdbcType=VARCHAR},
CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
UPDATE_USER = #{updateUser,jdbcType=VARCHAR},
UPDATE_TIME = #{updateTime,jdbcType=TIMESTAMP},
REMARK = #{remark,jdbcType=VARCHAR},
where ID = #{id,jdbcType=VARCHAR}
update cw_bd_reportlock
set LOCK_PERIOD = #{lockPeriod,jdbcType=VARCHAR},
SF_LOCK = #{sfLock,jdbcType=VARCHAR},
USE_STATE = #{useState,jdbcType=VARCHAR},
CREATE_USER = #{createUser,jdbcType=VARCHAR},
CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
UPDATE_USER = #{updateUser,jdbcType=VARCHAR},
UPDATE_TIME = #{updateTime,jdbcType=TIMESTAMP},
REMARK = #{remark,jdbcType=VARCHAR}
where ID = #{id,jdbcType=VARCHAR}