From a5d6eb8c87de887ca99041de1bd865bab48f6211 Mon Sep 17 00:00:00 2001 From: zqy <2522236926@qq.com> Date: 星期二, 26 八月 2025 18:01:25 +0800 Subject: [PATCH] 同一用户 个人简历 修改时 会将父母id清空 --- ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysMenuServiceImpl.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysMenuServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysMenuServiceImpl.java index ce6f04a..5ca7188 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysMenuServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysMenuServiceImpl.java @@ -74,11 +74,11 @@ { List<SysMenu> menuList = null; // 绠$悊鍛樻樉绀烘墍鏈夎彍鍗曚俊鎭� - if (SysUser.isAdmin(userId)) - { - menuList = menuMapper.selectMenuList(menu); - } - else +// if (SysUser.isAdmin(userId)) +// { +// menuList = menuMapper.selectMenuList(menu); +// } +// else { menu.getParams().put("userId", userId); menuList = menuMapper.selectMenuListByUserId(menu); -- Gitblit v1.9.1