feat:(REQ-2699) 解决未查到权限时的问题
This commit is contained in:
parent
35b2016662
commit
1db9878f27
@ -517,6 +517,9 @@ public class PermissionQueryServiceImpl implements PermissionQueryService {
|
||||
.build();
|
||||
Set<Long> featureIds = listUserPermissionFeatureIds(treePermissionReq);
|
||||
|
||||
if (CollectionUtils.isEmpty(featureIds)) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
List<SaasFeatureResourceResp> saasFeatureResources = saasFeatureResourceService.list(PageSaasFeatureResourceReq.builder()
|
||||
.ids(Lists.newArrayList(featureIds))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user