Browse Source

feat: [操作日志] 角色日志

master
memorylkf 2 months ago
parent
commit
88a55b82e6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      hxhq-modules/hxhq-system/src/main/java/com/hxhq/system/service/impl/SysRoleServiceImpl.java

+ 1
- 1
hxhq-modules/hxhq-system/src/main/java/com/hxhq/system/service/impl/SysRoleServiceImpl.java View File

@ -288,7 +288,7 @@ public class SysRoleServiceImpl implements ISysRoleService
{ {
SysRole info = selectRoleById(role.getRoleId()); SysRole info = selectRoleById(role.getRoleId());
int row = roleMapper.updateRole(role); int row = roleMapper.updateRole(role);
systemLogService.saveInfo(role.getStatus().equals("0")?"启用角色":"禁用角色",role.getStatus().equals("0")?"Enable Role":"Disable Role",info.getRoleName(),info.getRoleName(),SecurityUtils.getUserId(),SecurityUtils.getNickName(),SecurityUtils.getUsername(),null);
systemLogService.saveInfo("0".equals(role.getStatus())?"启用角色":"禁用角色","0".equals(role.getStatus())?"Enable Role":"Disable Role",info.getRoleName(),info.getRoleName(),SecurityUtils.getUserId(),SecurityUtils.getNickName(),SecurityUtils.getUsername(),null);
return row; return row;
} }

Loading…
Cancel
Save