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, create_id, create_time, update_time, deleted_sign, name, type, manager_id, dep_no,
super_id, remarks, status
delete from department_management
where id = #{id,jdbcType=VARCHAR}
delete from department_management
insert into department_management (id, create_id, create_time,
update_time, deleted_sign, name,
type, manager_id, dep_no,
super_id, remarks, status
)
values (#{id,jdbcType=VARCHAR}, #{createId,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP}, #{deletedSign,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
#{type,jdbcType=VARCHAR}, #{managerId,jdbcType=VARCHAR}, #{depNo,jdbcType=VARCHAR},
#{superId,jdbcType=VARCHAR}, #{remarks,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}
)
insert into department_management
id,
create_id,
create_time,
update_time,
deleted_sign,
name,
type,
manager_id,
dep_no,
super_id,
remarks,
status,
#{id,jdbcType=VARCHAR},
#{createId,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},
#{deletedSign,jdbcType=VARCHAR},
#{name,jdbcType=VARCHAR},
#{type,jdbcType=VARCHAR},
#{managerId,jdbcType=VARCHAR},
#{depNo,jdbcType=VARCHAR},
#{superId,jdbcType=VARCHAR},
#{remarks,jdbcType=VARCHAR},
#{status,jdbcType=VARCHAR},
update department_management
id = #{record.id,jdbcType=VARCHAR},
create_id = #{record.createId,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
deleted_sign = #{record.deletedSign,jdbcType=VARCHAR},
name = #{record.name,jdbcType=VARCHAR},
type = #{record.type,jdbcType=VARCHAR},
manager_id = #{record.managerId,jdbcType=VARCHAR},
dep_no = #{record.depNo,jdbcType=VARCHAR},
super_id = #{record.superId,jdbcType=VARCHAR},
remarks = #{record.remarks,jdbcType=VARCHAR},
status = #{record.status,jdbcType=VARCHAR},
update department_management
set id = #{record.id,jdbcType=VARCHAR},
create_id = #{record.createId,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
deleted_sign = #{record.deletedSign,jdbcType=VARCHAR},
name = #{record.name,jdbcType=VARCHAR},
type = #{record.type,jdbcType=VARCHAR},
manager_id = #{record.managerId,jdbcType=VARCHAR},
dep_no = #{record.depNo,jdbcType=VARCHAR},
super_id = #{record.superId,jdbcType=VARCHAR},
remarks = #{record.remarks,jdbcType=VARCHAR},
status = #{record.status,jdbcType=VARCHAR}
update department_management
create_id = #{createId,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
deleted_sign = #{deletedSign,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
type = #{type,jdbcType=VARCHAR},
manager_id = #{managerId,jdbcType=VARCHAR},
dep_no = #{depNo,jdbcType=VARCHAR},
super_id = #{superId,jdbcType=VARCHAR},
remarks = #{remarks,jdbcType=VARCHAR},
status = #{status,jdbcType=VARCHAR},
where id = #{id,jdbcType=VARCHAR}
update department_management
set create_id = #{createId,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
deleted_sign = #{deletedSign,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
type = #{type,jdbcType=VARCHAR},
manager_id = #{managerId,jdbcType=VARCHAR},
dep_no = #{depNo,jdbcType=VARCHAR},
super_id = #{superId,jdbcType=VARCHAR},
remarks = #{remarks,jdbcType=VARCHAR},
status = #{status,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}
insert into department_management(
id,create_id,create_time,update_time,deleted_sign,
name,type,manager_id,dep_no,super_id,desc,status)
values(#{id,jdbcType=VARCHAR},#{createId,jdbcType=VARCHAR},
#{createTime,jdbcType=VARCHAR},#{updateTime,jdbcType=VARCHAR},
#{deletedSign,jdbcType=VARCHAR},#{name,jdbcType=VARCHAR},
#{type,jdbcType=VARCHAR},#{managerId,jdbcType=VARCHAR},
#{depNo,jdbcType=VARCHAR},#{superId,jdbcType=VARCHAR},
#{desc,jdbcType=VARCHAR},#{status,jdbcType=VARCHAR})
delete from department_management
where id = #{id,jdbcType=VARCHAR}
update department_management
dep_no = #{depNo,jdbcType=VARCHAR}
where
id=#{id,jdbcType=VARCHAR}