From d770ca63457cbb2af779c30f817c35933d277726 Mon Sep 17 00:00:00 2001 From: fengshuonan Date: Mon, 9 Oct 2023 18:35:50 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=908.0.1=E3=80=91=E3=80=90system=E3=80=91?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E7=9B=B8=E5=85=B3=E6=93=8D=E4=BD=9C=E6=97=A5?= =?UTF-8?q?=E5=BF=97=EF=BC=8C=E5=A2=9E=E5=8A=A0=E8=B4=A6=E5=8F=B7=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../user/service/impl/SysUserRoleServiceImpl.java | 2 +- .../modular/user/service/impl/SysUserServiceImpl.java | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/kernel-s-system/system-business-hr/src/main/java/cn/stylefeng/roses/kernel/sys/modular/user/service/impl/SysUserRoleServiceImpl.java b/kernel-s-system/system-business-hr/src/main/java/cn/stylefeng/roses/kernel/sys/modular/user/service/impl/SysUserRoleServiceImpl.java index 0460e1e25..90a7d333e 100644 --- a/kernel-s-system/system-business-hr/src/main/java/cn/stylefeng/roses/kernel/sys/modular/user/service/impl/SysUserRoleServiceImpl.java +++ b/kernel-s-system/system-business-hr/src/main/java/cn/stylefeng/roses/kernel/sys/modular/user/service/impl/SysUserRoleServiceImpl.java @@ -81,7 +81,7 @@ public class SysUserRoleServiceImpl extends ServiceImpl impl sysUserRoleService.bindUserDefaultRole(sysUser.getUserId()); // 记录日志 - BusinessLogUtil.setLogTitle("新增用户"); + BusinessLogUtil.setLogTitle("新增用户,用户账号:" + sysUser.getAccount()); BusinessLogUtil.addContent("新增用户账号信息:", sysUser.getAccount()); BusinessLogUtil.addContent("用户详细信息如下:\n", sysUser); } @@ -128,7 +128,7 @@ public class SysUserServiceImpl extends ServiceImpl impl this.baseRemoveUser(CollectionUtil.set(false, sysUser.getUserId())); // 记录日志 - BusinessLogUtil.setLogTitle("删除用户"); + BusinessLogUtil.setLogTitle("删除用户,用户账号:" + sysUser.getAccount()); BusinessLogUtil.addContent("新增用户账号信息:", sysUser.getAccount()); BusinessLogUtil.addContent("用户详细信息:\n", sysUser); } @@ -158,7 +158,7 @@ public class SysUserServiceImpl extends ServiceImpl impl @Override public void edit(SysUserRequest sysUserRequest) { - BusinessLogUtil.setLogTitle("更新用户信息"); + BusinessLogUtil.setLogTitle("更新用户信息,用户账号:" + sysUserRequest.getAccount()); SysUser sysUser = this.querySysUser(sysUserRequest); BusinessLogUtil.addContent("原始用户信息如下:\n", sysUser); @@ -270,7 +270,7 @@ public class SysUserServiceImpl extends ServiceImpl impl } // 记录日志 - BusinessLogUtil.setLogTitle("更新用户状态"); + BusinessLogUtil.setLogTitle("更新用户状态,用户账号:" + this.getUserRealName(sysUserRequest.getUserId())); BusinessLogUtil.addContent("用户id:", sysUserRequest.getUserId()); BusinessLogUtil.addContent("修改状态为:", sysUserRequest.getStatusFlag()); } @@ -291,7 +291,7 @@ public class SysUserServiceImpl extends ServiceImpl impl this.updateById(sysUser); // 记录日志 - BusinessLogUtil.setLogTitle("重置用户密码"); + BusinessLogUtil.setLogTitle("重置用户密码,用户账号:" + sysUser.getRealName()); BusinessLogUtil.addContent("用户信息如下:\n", sysUser); }