【8.3.1】【role】修复一个获取app菜单功能的问题

master v8.3.1
stylefeng 2024-10-31 18:39:32 +08:00
parent 7bf924167d
commit 4d4ef936c9
1 changed files with 1 additions and 1 deletions

View File

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