From ebee3ce9a106d6f93ca438f617e03f2d10eb347d Mon Sep 17 00:00:00 2001 From: "review512jwy@163.com" <“review512jwy@163.com”> Date: Fri, 26 Jun 2026 13:27:14 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=A2=9E=E5=8A=A0=E5=8F=AF?= =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E8=AE=BE=E5=A4=87=E7=B1=BB=E5=9E=8B=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/dao/auto/BasicUserMapper.java | 24 ++++ .../mappers/auto/BasicUserMapper.xml | 122 +++++++++++++++++- .../mappers/ex/BasicUserMapperExt.xml | 1 + .../admin/dto/user/OptUserParam.java | 8 +- .../datacenter/admin/model/BasicUser.java | 34 +++++ .../datacenter/admin/vo/user/UserPageDTO.java | 3 + .../admin/service/impl/UserServiceImpl.java | 7 + 7 files changed, 194 insertions(+), 5 deletions(-) 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} +