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, CELL_ID, CELL_CODE, XTXMBH, XTZXMBH, XTZXMQC, USE_STATE, CREATE_USER, CREATE_TIME,
UPDATE_USER, UPDATE_TIME, REMARK
delete from cw_bd_productcell_detail
where ID = #{id,jdbcType=VARCHAR}
delete from cw_bd_productcell_detail
insert into cw_bd_productcell_detail (ID, CELL_ID, CELL_CODE,
XTXMBH, XTZXMBH, XTZXMQC,
USE_STATE, CREATE_USER, CREATE_TIME,
UPDATE_USER, UPDATE_TIME, REMARK
)
values (#{id,jdbcType=VARCHAR}, #{cellId,jdbcType=VARCHAR}, #{cellCode,jdbcType=VARCHAR},
#{xtxmbh,jdbcType=VARCHAR}, #{xtzxmbh,jdbcType=VARCHAR}, #{xtzxmqc,jdbcType=VARCHAR},
#{useState,jdbcType=VARCHAR}, #{createUser,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{updateUser,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}
)
insert into cw_bd_productcell_detail
ID,
CELL_ID,
CELL_CODE,
XTXMBH,
XTZXMBH,
XTZXMQC,
USE_STATE,
CREATE_USER,
CREATE_TIME,
UPDATE_USER,
UPDATE_TIME,
REMARK,
#{id,jdbcType=VARCHAR},
#{cellId,jdbcType=VARCHAR},
#{cellCode,jdbcType=VARCHAR},
#{xtxmbh,jdbcType=VARCHAR},
#{xtzxmbh,jdbcType=VARCHAR},
#{xtzxmqc,jdbcType=VARCHAR},
#{useState,jdbcType=VARCHAR},
#{createUser,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{updateUser,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP},
#{remark,jdbcType=VARCHAR},
update cw_bd_productcell_detail
ID = #{record.id,jdbcType=VARCHAR},
CELL_ID = #{record.cellId,jdbcType=VARCHAR},
CELL_CODE = #{record.cellCode,jdbcType=VARCHAR},
XTXMBH = #{record.xtxmbh,jdbcType=VARCHAR},
XTZXMBH = #{record.xtzxmbh,jdbcType=VARCHAR},
XTZXMQC = #{record.xtzxmqc,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_productcell_detail
set ID = #{record.id,jdbcType=VARCHAR},
CELL_ID = #{record.cellId,jdbcType=VARCHAR},
CELL_CODE = #{record.cellCode,jdbcType=VARCHAR},
XTXMBH = #{record.xtxmbh,jdbcType=VARCHAR},
XTZXMBH = #{record.xtzxmbh,jdbcType=VARCHAR},
XTZXMQC = #{record.xtzxmqc,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_productcell_detail
CELL_ID = #{cellId,jdbcType=VARCHAR},
CELL_CODE = #{cellCode,jdbcType=VARCHAR},
XTXMBH = #{xtxmbh,jdbcType=VARCHAR},
XTZXMBH = #{xtzxmbh,jdbcType=VARCHAR},
XTZXMQC = #{xtzxmqc,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_productcell_detail
set CELL_ID = #{cellId,jdbcType=VARCHAR},
CELL_CODE = #{cellCode,jdbcType=VARCHAR},
XTXMBH = #{xtxmbh,jdbcType=VARCHAR},
XTZXMBH = #{xtzxmbh,jdbcType=VARCHAR},
XTZXMQC = #{xtzxmqc,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}
insert into cw_bd_productcell_detail (ID, CELL_ID, CELL_CODE,
XTXMBH, XTZXMBH, XTZXMQC,
USE_STATE, CREATE_USER, CREATE_TIME,
UPDATE_USER, UPDATE_TIME, REMARK
)
values
(#{item.id,jdbcType=VARCHAR}, #{item.cellId,jdbcType=VARCHAR}, #{item.cellCode,jdbcType=VARCHAR},
#{item.xtxmbh,jdbcType=VARCHAR}, #{item.xtzxmbh,jdbcType=VARCHAR}, #{item.xtzxmqc,jdbcType=VARCHAR},
#{item.useState,jdbcType=VARCHAR}, #{item.createUser,jdbcType=VARCHAR}, #{item.createTime,jdbcType=TIMESTAMP},
#{item.updateUser,jdbcType=VARCHAR}, #{item.updateTime,jdbcType=TIMESTAMP}, #{item.remark,jdbcType=VARCHAR}
)
update cw_bd_productcell_detail
set
USE_STATE = "0"
where
CELL_ID in
#{item,jdbcType=TIMESTAMP}
delete from cw_bd_productcell_detail where cell_id='977';
insert into cw_bd_productcell_detail
select MD5(uuid()), '977', 'ALLPROJECT', XTXMBH, null, XTXMQC, '1', 'admin', '2020-01-31 00:00:00', null, null, null from pm_project_info;