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, username, password, nick_name, user_photo, user_sex, account_balance, status,
create_time, update_time
delete from user
where id = #{id,jdbcType=BIGINT}
delete from user
insert into user (id, username, password,
nick_name, user_photo, user_sex,
account_balance, status, create_time,
update_time)
values (#{id,jdbcType=BIGINT}, #{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR},
#{nickName,jdbcType=VARCHAR}, #{userPhoto,jdbcType=VARCHAR}, #{userSex,jdbcType=TINYINT},
#{accountBalance,jdbcType=BIGINT}, #{status,jdbcType=TINYINT}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP})
insert into user
id,
username,
password,
nick_name,
user_photo,
user_sex,
account_balance,
status,
create_time,
update_time,
#{id,jdbcType=BIGINT},
#{username,jdbcType=VARCHAR},
#{password,jdbcType=VARCHAR},
#{nickName,jdbcType=VARCHAR},
#{userPhoto,jdbcType=VARCHAR},
#{userSex,jdbcType=TINYINT},
#{accountBalance,jdbcType=BIGINT},
#{status,jdbcType=TINYINT},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},
update user
id = #{record.id,jdbcType=BIGINT},
username = #{record.username,jdbcType=VARCHAR},
password = #{record.password,jdbcType=VARCHAR},
nick_name = #{record.nickName,jdbcType=VARCHAR},
user_photo = #{record.userPhoto,jdbcType=VARCHAR},
user_sex = #{record.userSex,jdbcType=TINYINT},
account_balance = #{record.accountBalance,jdbcType=BIGINT},
status = #{record.status,jdbcType=TINYINT},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
update user
set id = #{record.id,jdbcType=BIGINT},
username = #{record.username,jdbcType=VARCHAR},
password = #{record.password,jdbcType=VARCHAR},
nick_name = #{record.nickName,jdbcType=VARCHAR},
user_photo = #{record.userPhoto,jdbcType=VARCHAR},
user_sex = #{record.userSex,jdbcType=TINYINT},
account_balance = #{record.accountBalance,jdbcType=BIGINT},
status = #{record.status,jdbcType=TINYINT},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
update user
username = #{username,jdbcType=VARCHAR},
password = #{password,jdbcType=VARCHAR},
nick_name = #{nickName,jdbcType=VARCHAR},
user_photo = #{userPhoto,jdbcType=VARCHAR},
user_sex = #{userSex,jdbcType=TINYINT},
account_balance = #{accountBalance,jdbcType=BIGINT},
status = #{status,jdbcType=TINYINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=BIGINT}
update user
set username = #{username,jdbcType=VARCHAR},
password = #{password,jdbcType=VARCHAR},
nick_name = #{nickName,jdbcType=VARCHAR},
user_photo = #{userPhoto,jdbcType=VARCHAR},
user_sex = #{userSex,jdbcType=TINYINT},
account_balance = #{accountBalance,jdbcType=BIGINT},
status = #{status,jdbcType=TINYINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}