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, mobile, pwd, name, role, indate, is_leave, district_id
delete from sys_user
where id = #{id,jdbcType=BIGINT}
delete from sys_user
SELECT LAST_INSERT_ID()
insert into sys_user (mobile, pwd, name,
role, indate, is_leave,
district_id)
values (#{mobile,jdbcType=VARCHAR}, #{pwd,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
#{role,jdbcType=VARCHAR}, #{indate,jdbcType=TIMESTAMP}, #{isLeave,jdbcType=INTEGER},
#{districtId,jdbcType=INTEGER})
SELECT LAST_INSERT_ID()
insert into sys_user
mobile,
pwd,
name,
role,
indate,
is_leave,
district_id,
#{mobile,jdbcType=VARCHAR},
#{pwd,jdbcType=VARCHAR},
#{name,jdbcType=VARCHAR},
#{role,jdbcType=VARCHAR},
#{indate,jdbcType=TIMESTAMP},
#{isLeave,jdbcType=INTEGER},
#{districtId,jdbcType=INTEGER},
update sys_user
id = #{record.id,jdbcType=BIGINT},
mobile = #{record.mobile,jdbcType=VARCHAR},
pwd = #{record.pwd,jdbcType=VARCHAR},
name = #{record.name,jdbcType=VARCHAR},
role = #{record.role,jdbcType=VARCHAR},
indate = #{record.indate,jdbcType=TIMESTAMP},
is_leave = #{record.isLeave,jdbcType=INTEGER},
district_id = #{record.districtId,jdbcType=INTEGER},
update sys_user
set id = #{record.id,jdbcType=BIGINT},
mobile = #{record.mobile,jdbcType=VARCHAR},
pwd = #{record.pwd,jdbcType=VARCHAR},
name = #{record.name,jdbcType=VARCHAR},
role = #{record.role,jdbcType=VARCHAR},
indate = #{record.indate,jdbcType=TIMESTAMP},
is_leave = #{record.isLeave,jdbcType=INTEGER},
district_id = #{record.districtId,jdbcType=INTEGER}
update sys_user
mobile = #{mobile,jdbcType=VARCHAR},
pwd = #{pwd,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
role = #{role,jdbcType=VARCHAR},
indate = #{indate,jdbcType=TIMESTAMP},
is_leave = #{isLeave,jdbcType=INTEGER},
district_id = #{districtId,jdbcType=INTEGER},
where id = #{id,jdbcType=BIGINT}
update sys_user
set mobile = #{mobile,jdbcType=VARCHAR},
pwd = #{pwd,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
role = #{role,jdbcType=VARCHAR},
indate = #{indate,jdbcType=TIMESTAMP},
is_leave = #{isLeave,jdbcType=INTEGER},
district_id = #{districtId,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}