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}
PK_ACCPERIOD, PERIODYEAR, BEGINDATE, ENDDATE, USE_STATE, CREATE_USER, CREATE_TIME,
UPDATE_USER, UPDATE_TIME, REMARK
delete from cw_bd_accperiod
where PK_ACCPERIOD = #{pkAccperiod,jdbcType=VARCHAR}
delete from cw_bd_accperiod
insert into cw_bd_accperiod (PK_ACCPERIOD, PERIODYEAR, BEGINDATE,
ENDDATE, USE_STATE, CREATE_USER,
CREATE_TIME, UPDATE_USER, UPDATE_TIME,
REMARK)
values (#{pkAccperiod,jdbcType=VARCHAR}, #{periodyear,jdbcType=VARCHAR}, #{begindate,jdbcType=DATE},
#{enddate,jdbcType=DATE}, #{useState,jdbcType=VARCHAR}, #{createUser,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{updateUser,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP},
#{remark,jdbcType=VARCHAR})
insert into cw_bd_accperiod
PK_ACCPERIOD,
PERIODYEAR,
BEGINDATE,
ENDDATE,
USE_STATE,
CREATE_USER,
CREATE_TIME,
UPDATE_USER,
UPDATE_TIME,
REMARK,
#{pkAccperiod,jdbcType=VARCHAR},
#{periodyear,jdbcType=VARCHAR},
#{begindate,jdbcType=DATE},
#{enddate,jdbcType=DATE},
#{useState,jdbcType=VARCHAR},
#{createUser,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{updateUser,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP},
#{remark,jdbcType=VARCHAR},
update cw_bd_accperiod
PK_ACCPERIOD = #{record.pkAccperiod,jdbcType=VARCHAR},
PERIODYEAR = #{record.periodyear,jdbcType=VARCHAR},
BEGINDATE = #{record.begindate,jdbcType=DATE},
ENDDATE = #{record.enddate,jdbcType=DATE},
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_accperiod
set PK_ACCPERIOD = #{record.pkAccperiod,jdbcType=VARCHAR},
PERIODYEAR = #{record.periodyear,jdbcType=VARCHAR},
BEGINDATE = #{record.begindate,jdbcType=DATE},
ENDDATE = #{record.enddate,jdbcType=DATE},
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_accperiod
PERIODYEAR = #{periodyear,jdbcType=VARCHAR},
BEGINDATE = #{begindate,jdbcType=DATE},
ENDDATE = #{enddate,jdbcType=DATE},
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 PK_ACCPERIOD = #{pkAccperiod,jdbcType=VARCHAR}
update cw_bd_accperiod
set PERIODYEAR = #{periodyear,jdbcType=VARCHAR},
BEGINDATE = #{begindate,jdbcType=DATE},
ENDDATE = #{enddate,jdbcType=DATE},
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 PK_ACCPERIOD = #{pkAccperiod,jdbcType=VARCHAR}