mirror of https://gitee.com/stylefeng/roses
parent
7bf924167d
commit
4d4ef936c9
|
@ -486,7 +486,7 @@ public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu> impl
|
|||
sysMenuLambdaQueryWrapper.eq(SysMenu::getAppId, appId);
|
||||
sysMenuLambdaQueryWrapper.select(SysMenu::getMenuId);
|
||||
List<SysMenu> list = this.list(sysMenuLambdaQueryWrapper);
|
||||
if (ObjectUtil.isEmpty(totalIdList)) {
|
||||
if (ObjectUtil.isEmpty(list)) {
|
||||
return totalIdList;
|
||||
}
|
||||
Set<Long> menuIdList = list.stream().map(SysMenu::getMenuId).collect(Collectors.toSet());
|
||||
|
|
Loading…
Reference in New Issue