update 优化 SysMenu 的 selectObjs 查询

dev
疯狂的狮子Li 4 months ago
parent 61a4b96831
commit 0d994c97b9

@ -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…
Cancel
Save