mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-20 02:08:15 +08:00
update 清除 admin 权限sql
This commit is contained in:
parent
3d47e951be
commit
2419130ce4
@ -102,6 +102,7 @@ public class PlusDataPermissionHandler implements DataPermissionHandler {
|
|||||||
throw new ServiceException("角色数据范围异常 => " + role.getDataScope());
|
throw new ServiceException("角色数据范围异常 => " + role.getDataScope());
|
||||||
}
|
}
|
||||||
if (type == DataScopeType.DATA_SCOPE_ALL) {
|
if (type == DataScopeType.DATA_SCOPE_ALL) {
|
||||||
|
sqlString = new StringBuilder();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
org.springframework.expression.Expression expression = parser.parseExpression(type.getSql(), parserContext);
|
org.springframework.expression.Expression expression = parser.parseExpression(type.getSql(), parserContext);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user