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, user_type, company_id, username, login_name, `password`, salt, email, mfa_secret, mfa_bind, mobile_number, last_login_time, flag, expire_time, create_time, creator_id, modify_time, modifier_id, super_role, create_platform, last_name, first_name delete from basic_user where id = #{id,jdbcType=BIGINT} delete from basic_user SELECT LAST_INSERT_ID() insert into basic_user (user_type, company_id, username, login_name, `password`, salt, email, mfa_secret, mfa_bind, mobile_number, last_login_time, flag, expire_time, create_time, creator_id, modify_time, modifier_id, super_role, create_platform, last_name, first_name ) values (#{userType,jdbcType=INTEGER}, #{companyId,jdbcType=BIGINT}, #{username,jdbcType=VARCHAR}, #{loginName,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{salt,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{mfaSecret,jdbcType=VARCHAR}, #{mfaBind,jdbcType=INTEGER}, #{mobileNumber,jdbcType=VARCHAR}, #{lastLoginTime,jdbcType=BIGINT}, #{flag,jdbcType=INTEGER}, #{expireTime,jdbcType=BIGINT}, #{createTime,jdbcType=BIGINT}, #{creatorId,jdbcType=BIGINT}, #{modifyTime,jdbcType=BIGINT}, #{modifierId,jdbcType=BIGINT}, #{superRole,jdbcType=INTEGER}, #{createPlatform,jdbcType=INTEGER}, #{lastName,jdbcType=VARCHAR}, #{firstName,jdbcType=VARCHAR} ) SELECT LAST_INSERT_ID() insert into basic_user user_type, company_id, username, login_name, `password`, salt, email, mfa_secret, mfa_bind, mobile_number, last_login_time, flag, expire_time, create_time, creator_id, modify_time, modifier_id, super_role, create_platform, last_name, first_name, #{userType,jdbcType=INTEGER}, #{companyId,jdbcType=BIGINT}, #{username,jdbcType=VARCHAR}, #{loginName,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{salt,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{mfaSecret,jdbcType=VARCHAR}, #{mfaBind,jdbcType=INTEGER}, #{mobileNumber,jdbcType=VARCHAR}, #{lastLoginTime,jdbcType=BIGINT}, #{flag,jdbcType=INTEGER}, #{expireTime,jdbcType=BIGINT}, #{createTime,jdbcType=BIGINT}, #{creatorId,jdbcType=BIGINT}, #{modifyTime,jdbcType=BIGINT}, #{modifierId,jdbcType=BIGINT}, #{superRole,jdbcType=INTEGER}, #{createPlatform,jdbcType=INTEGER}, #{lastName,jdbcType=VARCHAR}, #{firstName,jdbcType=VARCHAR}, update basic_user id = #{record.id,jdbcType=BIGINT}, user_type = #{record.userType,jdbcType=INTEGER}, company_id = #{record.companyId,jdbcType=BIGINT}, username = #{record.username,jdbcType=VARCHAR}, login_name = #{record.loginName,jdbcType=VARCHAR}, `password` = #{record.password,jdbcType=VARCHAR}, salt = #{record.salt,jdbcType=VARCHAR}, email = #{record.email,jdbcType=VARCHAR}, mfa_secret = #{record.mfaSecret,jdbcType=VARCHAR}, mfa_bind = #{record.mfaBind,jdbcType=INTEGER}, mobile_number = #{record.mobileNumber,jdbcType=VARCHAR}, last_login_time = #{record.lastLoginTime,jdbcType=BIGINT}, flag = #{record.flag,jdbcType=INTEGER}, expire_time = #{record.expireTime,jdbcType=BIGINT}, create_time = #{record.createTime,jdbcType=BIGINT}, creator_id = #{record.creatorId,jdbcType=BIGINT}, modify_time = #{record.modifyTime,jdbcType=BIGINT}, modifier_id = #{record.modifierId,jdbcType=BIGINT}, super_role = #{record.superRole,jdbcType=INTEGER}, create_platform = #{record.createPlatform,jdbcType=INTEGER}, last_name = #{record.lastName,jdbcType=VARCHAR}, first_name = #{record.firstName,jdbcType=VARCHAR}, update basic_user set id = #{record.id,jdbcType=BIGINT}, user_type = #{record.userType,jdbcType=INTEGER}, company_id = #{record.companyId,jdbcType=BIGINT}, username = #{record.username,jdbcType=VARCHAR}, login_name = #{record.loginName,jdbcType=VARCHAR}, `password` = #{record.password,jdbcType=VARCHAR}, salt = #{record.salt,jdbcType=VARCHAR}, email = #{record.email,jdbcType=VARCHAR}, mfa_secret = #{record.mfaSecret,jdbcType=VARCHAR}, mfa_bind = #{record.mfaBind,jdbcType=INTEGER}, mobile_number = #{record.mobileNumber,jdbcType=VARCHAR}, last_login_time = #{record.lastLoginTime,jdbcType=BIGINT}, flag = #{record.flag,jdbcType=INTEGER}, expire_time = #{record.expireTime,jdbcType=BIGINT}, create_time = #{record.createTime,jdbcType=BIGINT}, creator_id = #{record.creatorId,jdbcType=BIGINT}, modify_time = #{record.modifyTime,jdbcType=BIGINT}, modifier_id = #{record.modifierId,jdbcType=BIGINT}, super_role = #{record.superRole,jdbcType=INTEGER}, create_platform = #{record.createPlatform,jdbcType=INTEGER}, last_name = #{record.lastName,jdbcType=VARCHAR}, first_name = #{record.firstName,jdbcType=VARCHAR} update basic_user user_type = #{userType,jdbcType=INTEGER}, company_id = #{companyId,jdbcType=BIGINT}, username = #{username,jdbcType=VARCHAR}, login_name = #{loginName,jdbcType=VARCHAR}, `password` = #{password,jdbcType=VARCHAR}, salt = #{salt,jdbcType=VARCHAR}, email = #{email,jdbcType=VARCHAR}, mfa_secret = #{mfaSecret,jdbcType=VARCHAR}, mfa_bind = #{mfaBind,jdbcType=INTEGER}, mobile_number = #{mobileNumber,jdbcType=VARCHAR}, last_login_time = #{lastLoginTime,jdbcType=BIGINT}, flag = #{flag,jdbcType=INTEGER}, expire_time = #{expireTime,jdbcType=BIGINT}, create_time = #{createTime,jdbcType=BIGINT}, creator_id = #{creatorId,jdbcType=BIGINT}, modify_time = #{modifyTime,jdbcType=BIGINT}, modifier_id = #{modifierId,jdbcType=BIGINT}, super_role = #{superRole,jdbcType=INTEGER}, create_platform = #{createPlatform,jdbcType=INTEGER}, last_name = #{lastName,jdbcType=VARCHAR}, first_name = #{firstName,jdbcType=VARCHAR}, where id = #{id,jdbcType=BIGINT} update basic_user set user_type = #{userType,jdbcType=INTEGER}, company_id = #{companyId,jdbcType=BIGINT}, username = #{username,jdbcType=VARCHAR}, login_name = #{loginName,jdbcType=VARCHAR}, `password` = #{password,jdbcType=VARCHAR}, salt = #{salt,jdbcType=VARCHAR}, email = #{email,jdbcType=VARCHAR}, mfa_secret = #{mfaSecret,jdbcType=VARCHAR}, mfa_bind = #{mfaBind,jdbcType=INTEGER}, mobile_number = #{mobileNumber,jdbcType=VARCHAR}, last_login_time = #{lastLoginTime,jdbcType=BIGINT}, flag = #{flag,jdbcType=INTEGER}, expire_time = #{expireTime,jdbcType=BIGINT}, create_time = #{createTime,jdbcType=BIGINT}, creator_id = #{creatorId,jdbcType=BIGINT}, modify_time = #{modifyTime,jdbcType=BIGINT}, modifier_id = #{modifierId,jdbcType=BIGINT}, super_role = #{superRole,jdbcType=INTEGER}, create_platform = #{createPlatform,jdbcType=INTEGER}, last_name = #{lastName,jdbcType=VARCHAR}, first_name = #{firstName,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT}