From d861ef882d1cdc688669a1a9afb489d49f8bf272 Mon Sep 17 00:00:00 2001
From: zyy <zyy@email.com>
Date: Wed, 15 Oct 2025 15:49:39 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/8.20' into 8.20
---
trading-order-sys/src/main/resources/mapper/SysMenuMapper.xml | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/trading-order-sys/src/main/resources/mapper/SysMenuMapper.xml b/trading-order-sys/src/main/resources/mapper/SysMenuMapper.xml
index e7c8b2f..55d5778 100644
--- a/trading-order-sys/src/main/resources/mapper/SysMenuMapper.xml
+++ b/trading-order-sys/src/main/resources/mapper/SysMenuMapper.xml
@@ -4,7 +4,9 @@
<mapper namespace="com.yami.trading.sys.dao.SysMenuMapper">
<select id="listMenuIdByRoleId" resultType="Long">
- select menu_id from tz_sys_role_menu where role_id = #{roleId} and is_show = 0
+ select r.menu_id from tz_sys_role_menu r
+ LEFT JOIN tz_sys_menu m ON m.menu_id = r.menu_id
+ where r.role_id = #{roleId} and m.is_show = 0
</select>
<!-- 查询用户的所有菜单 -->
--
Gitblit v1.9.3