From fa779c80cdad847f3820f709531eb74df6576afd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=9D=E5=85=88=E7=91=9E?= <1490493387@qq.com> Date: Mon, 10 Jul 2023 03:46:40 +0000 Subject: [PATCH] =?UTF-8?q?Revert=20"Revert=20"fix(SysMenuMapper.xml):=20?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E8=A7=92=E8=89=B2=E6=8C=89=E9=92=AE=E6=9D=83?= =?UTF-8?q?=E9=99=90=E9=87=8D=E6=96=B0=E7=99=BB=E5=BD=95=E6=97=A0=E6=95=88?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D""?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit bbc49edb5ee97672fb1640acf85e21e99c82a94f. --- src/main/resources/mapper/SysMenuMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mapper/SysMenuMapper.xml b/src/main/resources/mapper/SysMenuMapper.xml index bda56899..039d9e63 100644 --- a/src/main/resources/mapper/SysMenuMapper.xml +++ b/src/main/resources/mapper/SysMenuMapper.xml @@ -50,8 +50,8 @@ DISTINCT t1.perm FROM sys_menu t1 - INNER JOIN sys_role_menu t2 - INNER JOIN sys_role t3 + INNER JOIN sys_role_menu t2 ON t1.id = t2.menu_id + INNER JOIN sys_role t3 ON t3.id = t2.role_id WHERE t1.type = '${@com.youlai.system.common.enums.MenuTypeEnum@BUTTON.getValue()}' AND t1.perm IS NOT NULL