update 清除 admin 权限sql

This commit is contained in:
疯狂的狮子li 2021-12-07 21:34:20 +08:00
parent 3d47e951be
commit 2419130ce4

View File

@ -102,6 +102,7 @@ public class PlusDataPermissionHandler implements DataPermissionHandler {
throw new ServiceException("角色数据范围异常 => " + role.getDataScope());
}
if (type == DataScopeType.DATA_SCOPE_ALL) {
sqlString = new StringBuilder();
break;
}
org.springframework.expression.Expression expression = parser.parseExpression(type.getSql(), parserContext);