From 182b2b1d3464dc1e2dcfe83a9f11799a90e7db23 Mon Sep 17 00:00:00 2001 From: zqy <2522236926@qq.com> Date: 星期六, 23 八月 2025 20:58:21 +0800 Subject: [PATCH] 同一用户 健康模块 新增删除同一条数据 --- 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