feat:(REQ-2699) 解决未查到权限时的问题

This commit is contained in:
lilong 2024-08-10 13:27:02 +08:00
parent 35b2016662
commit 1db9878f27

View File

@ -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))