From 64cd19f7dba7c2ef941e95c49601db0a3dbd3c65 Mon Sep 17 00:00:00 2001 From: shizhong <124974919@qq.com> Date: Thu, 30 Mar 2023 21:15:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=96=B0=E5=A2=9E=E7=A7=9F?= =?UTF-8?q?=E6=88=B7=E6=97=B6=E5=88=9B=E5=BB=BA=E7=9A=84=E7=A7=9F=E6=88=B7?= =?UTF-8?q?=E7=AC=AC=E4=B8=80=E4=B8=AA=E7=94=A8=E6=88=B7=E6=80=A7=E5=88=AB?= =?UTF-8?q?=E4=B8=BA=E6=97=A0=E6=95=88=E5=80=BC=E7=9A=84=E9=97=AE=E9=A2=98?= =?UTF-8?q?=EF=BC=8C=E5=89=8D=E7=AB=AF=E6=94=B9=E4=BA=86=EF=BC=8C=E5=90=8E?= =?UTF-8?q?=E7=AB=AF=E8=BF=98=E6=98=AF=E9=BB=98=E8=AE=A40=E5=8D=B3?= =?UTF-8?q?=E6=9C=AA=E7=9F=A5=E5=90=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yudao/module/system/service/user/AdminUserServiceImpl.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/user/AdminUserServiceImpl.java b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/user/AdminUserServiceImpl.java index f65bd41d5..bb43a89c2 100644 --- a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/user/AdminUserServiceImpl.java +++ b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/user/AdminUserServiceImpl.java @@ -19,7 +19,6 @@ import cn.iocoder.yudao.module.system.dal.dataobject.dept.UserPostDO; import cn.iocoder.yudao.module.system.dal.dataobject.user.AdminUserDO; import cn.iocoder.yudao.module.system.dal.mysql.dept.UserPostMapper; import cn.iocoder.yudao.module.system.dal.mysql.user.AdminUserMapper; -import cn.iocoder.yudao.module.system.enums.common.SexEnum; import cn.iocoder.yudao.module.system.service.dept.DeptService; import cn.iocoder.yudao.module.system.service.dept.PostService; import cn.iocoder.yudao.module.system.service.permission.PermissionService; @@ -90,7 +89,6 @@ public class AdminUserServiceImpl implements AdminUserService { reqVO.getDeptId(), reqVO.getPostIds()); // 插入用户 AdminUserDO user = UserConvert.INSTANCE.convert(reqVO); - user.setSex(SexEnum.MALE.getSex()); user.setStatus(CommonStatusEnum.ENABLE.getStatus()); // 默认开启 user.setPassword(encodePassword(reqVO.getPassword())); // 加密密码 userMapper.insert(user);