fix bug:npe
This commit is contained in:
parent
189e1ffa98
commit
712cfa0b86
@ -122,7 +122,7 @@ public class PermissionGroupImpl implements PermissionGroupService {
|
|||||||
.in(SaasPgroupPermissionRelation::getGroupId, groupIds)
|
.in(SaasPgroupPermissionRelation::getGroupId, groupIds)
|
||||||
.eq(BaseEntity::getIsDelete, TableIsDeleteEnum.NORMAL.value)
|
.eq(BaseEntity::getIsDelete, TableIsDeleteEnum.NORMAL.value)
|
||||||
.list();
|
.list();
|
||||||
List<PermissionPointTreeNode> feature = null;
|
List<PermissionPointTreeNode> feature = new ArrayList<>();
|
||||||
if (CollectionUtils.isNotEmpty(permissionList)) {
|
if (CollectionUtils.isNotEmpty(permissionList)) {
|
||||||
// 查询featureCode
|
// 查询featureCode
|
||||||
feature = featureService.listNodesByIds(permissionList.stream().map(SaasPgroupPermissionRelation::getFeatureId).collect(Collectors.toList()));
|
feature = featureService.listNodesByIds(permissionList.stream().map(SaasPgroupPermissionRelation::getFeatureId).collect(Collectors.toList()));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user