|
|
@ -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; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|