diff --git a/dongjian-center-admin-dao/src/main/java/com/dongjian/datacenter/admin/dao/auto/BasicUserMapper.java b/dongjian-center-admin-dao/src/main/java/com/dongjian/datacenter/admin/dao/auto/BasicUserMapper.java index e5760dd..8526989 100644 --- a/dongjian-center-admin-dao/src/main/java/com/dongjian/datacenter/admin/dao/auto/BasicUserMapper.java +++ b/dongjian-center-admin-dao/src/main/java/com/dongjian/datacenter/admin/dao/auto/BasicUserMapper.java @@ -46,6 +46,14 @@ public interface BasicUserMapper { */ int insertSelective(BasicUser record); + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table basic_user + * + * @mbg.generated + */ + List selectByExampleWithBLOBs(BasicUserExample example); + /** * This method was generated by MyBatis Generator. * This method corresponds to the database table basic_user @@ -70,6 +78,14 @@ public interface BasicUserMapper { */ int updateByExampleSelective(@Param("record") BasicUser record, @Param("example") BasicUserExample example); + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table basic_user + * + * @mbg.generated + */ + int updateByExampleWithBLOBs(@Param("record") BasicUser record, @Param("example") BasicUserExample example); + /** * This method was generated by MyBatis Generator. * This method corresponds to the database table basic_user @@ -86,6 +102,14 @@ public interface BasicUserMapper { */ int updateByPrimaryKeySelective(BasicUser record); + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table basic_user + * + * @mbg.generated + */ + int updateByPrimaryKeyWithBLOBs(BasicUser record); + /** * This method was generated by MyBatis Generator. * This method corresponds to the database table basic_user diff --git a/dongjian-center-admin-dao/src/main/resources/mappers/auto/BasicUserMapper.xml b/dongjian-center-admin-dao/src/main/resources/mappers/auto/BasicUserMapper.xml index 6a4475e..356f697 100644 --- a/dongjian-center-admin-dao/src/main/resources/mappers/auto/BasicUserMapper.xml +++ b/dongjian-center-admin-dao/src/main/resources/mappers/auto/BasicUserMapper.xml @@ -30,6 +30,13 @@ + + + + + authorized_device_category_type + + @@ -167,7 +204,8 @@ expire_time, create_time, creator_id, modify_time, modifier_id, super_role, create_platform, last_name, first_name, - adsc_flag) + adsc_flag, authorized_device_category_type + ) 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}, @@ -175,7 +213,8 @@ #{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}, - #{adscFlag,jdbcType=INTEGER}) + #{adscFlag,jdbcType=INTEGER}, #{authorizedDeviceCategoryType,jdbcType=LONGVARCHAR} + ) + 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}, + adsc_flag = #{record.adscFlag,jdbcType=INTEGER}, + authorized_device_category_type = #{record.authorizedDeviceCategoryType,jdbcType=LONGVARCHAR} + + + + + 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}, + adsc_flag = #{adscFlag,jdbcType=INTEGER}, + authorized_device_category_type = #{authorizedDeviceCategoryType,jdbcType=LONGVARCHAR} + where id = #{id,jdbcType=BIGINT} +