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_CODE, CELL_NAME, CELL_TYPE, USE_STATE, CREATE_USER, CREATE_TIME, UPDATE_USER,
UPDATE_TIME, REMARK
delete from cw_bd_productcell
where ID = #{id,jdbcType=VARCHAR}
delete from cw_bd_productcell
insert into cw_bd_productcell (ID, CELL_CODE, CELL_NAME,
CELL_TYPE, USE_STATE, CREATE_USER,
CREATE_TIME, UPDATE_USER, UPDATE_TIME,
REMARK)
values (#{id,jdbcType=VARCHAR}, #{cellCode,jdbcType=VARCHAR}, #{cellName,jdbcType=VARCHAR},
#{cellType,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
ID,
CELL_CODE,
CELL_NAME,
CELL_TYPE,
USE_STATE,
CREATE_USER,
CREATE_TIME,
UPDATE_USER,
UPDATE_TIME,
REMARK,
#{id,jdbcType=VARCHAR},
#{cellCode,jdbcType=VARCHAR},
#{cellName,jdbcType=VARCHAR},
#{cellType,jdbcType=VARCHAR},
#{useState,jdbcType=VARCHAR},
#{createUser,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{updateUser,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP},
#{remark,jdbcType=VARCHAR},
update cw_bd_productcell
ID = #{record.id,jdbcType=VARCHAR},
CELL_CODE = #{record.cellCode,jdbcType=VARCHAR},
CELL_NAME = #{record.cellName,jdbcType=VARCHAR},
CELL_TYPE = #{record.cellType,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
set ID = #{record.id,jdbcType=VARCHAR},
CELL_CODE = #{record.cellCode,jdbcType=VARCHAR},
CELL_NAME = #{record.cellName,jdbcType=VARCHAR},
CELL_TYPE = #{record.cellType,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
CELL_CODE = #{cellCode,jdbcType=VARCHAR},
CELL_NAME = #{cellName,jdbcType=VARCHAR},
CELL_TYPE = #{cellType,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
set CELL_CODE = #{cellCode,jdbcType=VARCHAR},
CELL_NAME = #{cellName,jdbcType=VARCHAR},
CELL_TYPE = #{cellType,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
set
USE_STATE = "0"
where
ID in
#{item,jdbcType=TIMESTAMP}