|
@@ -193,7 +193,7 @@ public class SysRoleServiceImpl extends JoinServiceImpl<SysRoleMapper, SysRole>
|
|
|
SysRole role = new SysRole();
|
|
|
role.setRoleId(roleId);
|
|
|
SysRole sysRole = baseMapper.selectRoleById(roleId);
|
|
|
- if ("2".equals(sysRole.getStatus())) {
|
|
|
+ if ("1".equals(sysRole.getStatus())) {
|
|
|
List<SysRole> roles = SpringUtils.getAopProxy(this).selectRoleList(role);
|
|
|
if (StringUtils.isEmpty(roles)) {
|
|
|
throw new ServiceException("没有权限访问角色数据!");
|