正在显示
2 个修改的文件
包含
1 行增加
和
2 行删除
| @@ -7,7 +7,6 @@ package com.ruoyi.common.exception; | @@ -7,7 +7,6 @@ package com.ruoyi.common.exception; | ||
| 7 | */ | 7 | */ |
| 8 | public class GlobalException extends RuntimeException | 8 | public class GlobalException extends RuntimeException |
| 9 | { | 9 | { |
| 10 | - | ||
| 11 | private static final long serialVersionUID = 1L; | 10 | private static final long serialVersionUID = 1L; |
| 12 | 11 | ||
| 13 | /** | 12 | /** |
| @@ -92,7 +92,7 @@ public class DataScopeAspect | @@ -92,7 +92,7 @@ public class DataScopeAspect | ||
| 92 | for (SysRole role : user.getRoles()) | 92 | for (SysRole role : user.getRoles()) |
| 93 | { | 93 | { |
| 94 | String dataScope = role.getDataScope(); | 94 | String dataScope = role.getDataScope(); |
| 95 | - if (conditions.contains(dataScope)) | 95 | + if (!DATA_SCOPE_CUSTOM.equals(dataScope) && conditions.contains(dataScope)) |
| 96 | { | 96 | { |
| 97 | continue; | 97 | continue; |
| 98 | } | 98 | } |
-
请 注册 或 登录 后发表评论