update 优化 SysMenu 的 selectObjs 查询
This commit is contained in:
parent
341fc144a1
commit
00ed9ddd10
|
|
@ -161,6 +161,7 @@ public class SysMenuServiceImpl implements ISysMenuService {
|
|||
});
|
||||
}
|
||||
return baseMapper.selectObjs(new LambdaQueryWrapper<SysMenu>()
|
||||
.select(SysMenu::getMenuId)
|
||||
.in(SysMenu::getMenuId, menuIds)
|
||||
.notIn(CollUtil.isNotEmpty(parentIds), SysMenu::getMenuId, parentIds), x -> {
|
||||
return Convert.toLong(x);
|
||||
|
|
|
|||
Loading…
Reference in New Issue