diff --git a/kernel-s-system/system-business-hr/src/main/java/cn/stylefeng/roses/kernel/sys/modular/user/service/impl/SysUserServiceImpl.java b/kernel-s-system/system-business-hr/src/main/java/cn/stylefeng/roses/kernel/sys/modular/user/service/impl/SysUserServiceImpl.java index d26853b64..2edb67666 100644 --- a/kernel-s-system/system-business-hr/src/main/java/cn/stylefeng/roses/kernel/sys/modular/user/service/impl/SysUserServiceImpl.java +++ b/kernel-s-system/system-business-hr/src/main/java/cn/stylefeng/roses/kernel/sys/modular/user/service/impl/SysUserServiceImpl.java @@ -158,9 +158,9 @@ public class SysUserServiceImpl extends ServiceImpl impl @Override public void edit(SysUserRequest sysUserRequest) { - BusinessLogUtil.setLogTitle("更新用户信息,用户账号:" + sysUserRequest.getAccount()); - SysUser sysUser = this.querySysUser(sysUserRequest); + + BusinessLogUtil.setLogTitle("更新用户信息,用户账号:" + sysUser.getAccount()); BusinessLogUtil.addContent("原始用户信息如下:\n", sysUser); // 不能修改admin账号的超级管理员标识和账号