refactor(data): 数据权限查询角色优化

This commit is contained in:
冷冷 committed 2024-11-26 14:14:27 +08:00
1 parent 0d798c328f
commit 536be6fb15
1 file changed
+1 -1
@@ -66,7 +66,7 @@ public class PigxDefaultDataScopeHandle implements DataScopeHandle {
}
// 获取用户角色ID列表
List<Long> roleIdList = user.getRoleIds();
List<Long> roleIdList = SecurityUtils.getRoleIds();
if (CollUtil.isEmpty(roleIdList)) {
return false;
}