默认初始化页面权限修改
This commit is contained in:
parent
48792f0beb
commit
c196abad93
|
|
@ -49,6 +49,6 @@ public class ShopPagePathServiceImpl extends ServiceImpl<ShopPagePathMapper, Sho
|
|||
}
|
||||
|
||||
Set<Long> pageIdList = shopStaffPagePermissions.stream().filter(item -> item.getIsUse() == 1).map(ShopStaffPagePermission::getPagePathId).collect(Collectors.toSet());
|
||||
return list(new QueryWrapper().in(ShopPagePath::getId, pageIdList));
|
||||
return pageIdList.isEmpty() ? new ArrayList<>() : list(new QueryWrapper().in(ShopPagePath::getId, pageIdList));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue