From 011bbda9e61a2128744ffeede17bff7e9ff820fd Mon Sep 17 00:00:00 2001 From: fengshuonan Date: Thu, 21 Mar 2024 21:25:01 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=908.1.3=E3=80=91=E3=80=90system=E3=80=91?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=80=9A=E7=94=A8=E6=8E=A5=E5=8F=A3=EF=BC=8C?= =?UTF-8?q?=E5=8F=AF=E4=BB=A5=E4=BF=AE=E6=94=B9=E5=A4=B4=E5=83=8Fid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sys/modular/user/factory/SysUserCreateFactory.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kernel-s-system/system-business-hr/src/main/java/cn/stylefeng/roses/kernel/sys/modular/user/factory/SysUserCreateFactory.java b/kernel-s-system/system-business-hr/src/main/java/cn/stylefeng/roses/kernel/sys/modular/user/factory/SysUserCreateFactory.java index 46969c284..23f5db38b 100644 --- a/kernel-s-system/system-business-hr/src/main/java/cn/stylefeng/roses/kernel/sys/modular/user/factory/SysUserCreateFactory.java +++ b/kernel-s-system/system-business-hr/src/main/java/cn/stylefeng/roses/kernel/sys/modular/user/factory/SysUserCreateFactory.java @@ -39,6 +39,11 @@ public class SysUserCreateFactory { if (ObjectUtil.isNotEmpty(sysUserRequest.getPhone())) { sysUser.setPhone(sysUserRequest.getPhone()); } + + // 头像id + if (ObjectUtil.isNotEmpty(sysUserRequest.getAvatar())) { + sysUser.setAvatar(sysUserRequest.getAvatar()); + } } }