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_RELATION, PK_SRCBILLTYPE, PK_SRCBILLPK, PK_VOUCHER, USE_STATE, CREATE_USER, CREATE_TIME,
UPDATE_USER, UPDATE_TIME, REMARK
delete from cw_bd_relation
insert into cw_bd_relation (PK_RELATION, PK_SRCBILLTYPE, PK_SRCBILLPK,
PK_VOUCHER, USE_STATE, CREATE_USER,
CREATE_TIME, UPDATE_USER, UPDATE_TIME,
REMARK)
values (#{pkRelation,jdbcType=VARCHAR}, #{pkSrcbilltype,jdbcType=VARCHAR}, #{pkSrcbillpk,jdbcType=VARCHAR},
#{pkVoucher,jdbcType=VARCHAR}, #{useState,jdbcType=VARCHAR}, #{createUser,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{updateUser,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP},
#{remark,jdbcType=VARCHAR})
insert into cw_bd_relation
PK_RELATION,
PK_SRCBILLTYPE,
PK_SRCBILLPK,
PK_VOUCHER,
USE_STATE,
CREATE_USER,
CREATE_TIME,
UPDATE_USER,
UPDATE_TIME,
REMARK,
#{pkRelation,jdbcType=VARCHAR},
#{pkSrcbilltype,jdbcType=VARCHAR},
#{pkSrcbillpk,jdbcType=VARCHAR},
#{pkVoucher,jdbcType=VARCHAR},
#{useState,jdbcType=VARCHAR},
#{createUser,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{updateUser,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP},
#{remark,jdbcType=VARCHAR},
update cw_bd_relation
PK_RELATION = #{record.pkRelation,jdbcType=VARCHAR},
PK_SRCBILLTYPE = #{record.pkSrcbilltype,jdbcType=VARCHAR},
PK_SRCBILLPK = #{record.pkSrcbillpk,jdbcType=VARCHAR},
PK_VOUCHER = #{record.pkVoucher,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_relation
set PK_RELATION = #{record.pkRelation,jdbcType=VARCHAR},
PK_SRCBILLTYPE = #{record.pkSrcbilltype,jdbcType=VARCHAR},
PK_SRCBILLPK = #{record.pkSrcbillpk,jdbcType=VARCHAR},
PK_VOUCHER = #{record.pkVoucher,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_relation set USE_STATE='0'
where PK_RELATION =#{pkRelation,jdbcType=VARCHAR}