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, name, indentity, image_url, create_date, update_date, status, conreason, fid
delete
from sy_personnel
where id = #{id,jdbcType=INTEGER}
delete from sy_personnel
SELECT LAST_INSERT_ID()
insert into sy_personnel (name, indentity, image_url,
create_date, update_date, status,
conreason, fid)
values (#{name,jdbcType=VARCHAR}, #{indentity,jdbcType=VARCHAR}, #{imageUrl,jdbcType=VARCHAR},
#{createDate,jdbcType=VARCHAR}, #{updateDate,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER},
#{conreason,jdbcType=VARCHAR}, #{fid,jdbcType=INTEGER})
SELECT LAST_INSERT_ID()
insert into sy_personnel
name,
indentity,
image_url,
create_date,
update_date,
status,
conreason,
fid,
#{name,jdbcType=VARCHAR},
#{indentity,jdbcType=VARCHAR},
#{imageUrl,jdbcType=VARCHAR},
#{createDate,jdbcType=VARCHAR},
#{updateDate,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER},
#{conreason,jdbcType=VARCHAR},
#{fid,jdbcType=INTEGER},
update sy_personnel
id = #{record.id,jdbcType=INTEGER},
name = #{record.name,jdbcType=VARCHAR},
indentity = #{record.indentity,jdbcType=VARCHAR},
image_url = #{record.imageUrl,jdbcType=VARCHAR},
create_date = #{record.createDate,jdbcType=VARCHAR},
update_date = #{record.updateDate,jdbcType=VARCHAR},
status = #{record.status,jdbcType=INTEGER},
conreason = #{record.conreason,jdbcType=VARCHAR},
fid = #{record.fid,jdbcType=INTEGER},
update sy_personnel
set id = #{record.id,jdbcType=INTEGER},
name = #{record.name,jdbcType=VARCHAR},
indentity = #{record.indentity,jdbcType=VARCHAR},
image_url = #{record.imageUrl,jdbcType=VARCHAR},
create_date = #{record.createDate,jdbcType=VARCHAR},
update_date = #{record.updateDate,jdbcType=VARCHAR},
status = #{record.status,jdbcType=INTEGER},
conreason = #{record.conreason,jdbcType=VARCHAR},
fid = #{record.fid,jdbcType=INTEGER}
update sy_personnel
name = #{name,jdbcType=VARCHAR},
indentity = #{indentity,jdbcType=VARCHAR},
image_url = #{imageUrl,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=VARCHAR},
update_date = #{updateDate,jdbcType=VARCHAR},
status = #{status,jdbcType=INTEGER},
conreason = #{conreason,jdbcType=VARCHAR},
fid = #{fid,jdbcType=INTEGER},
where id = #{id,jdbcType=INTEGER}
update sy_personnel
set name = #{name,jdbcType=VARCHAR},
update_date = #{updateDate,jdbcType=VARCHAR},
status = #{status,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}