直接添加端下一级菜单bugfix

This commit is contained in:
yangsong 2023-10-09 11:35:58 +08:00
parent a85bddc1de
commit fa678f893f

View File

@ -317,10 +317,10 @@ public class SaasFeatureApplyServiceImpl implements SaasFeatureApplyService {
}
}
});
if (CollectionUtils.isNotEmpty(featureIds)) {
Set<String> targetIds = featureIds.stream().map(e -> PermissionPointApplyVO.PermissionPointInfoVO.buildId(3, e)).collect(Collectors.toSet());
flatRoot.removeIf(e -> targetIds.contains(e.getId()));
}
// if (CollectionUtils.isNotEmpty(featureIds)) {
// Set<String> targetIds = featureIds.stream().map(e -> PermissionPointApplyVO.PermissionPointInfoVO.buildId(3, e)).collect(Collectors.toSet());
// flatRoot.removeIf(e -> targetIds.contains(e.getId()));
// }
return root;
}