From ca91ad714b5d3695832f3123ad902edd4fcc51d0 Mon Sep 17 00:00:00 2001 From: haoxr <1490493387@qq.com> Date: Thu, 15 Jun 2023 11:51:15 +0800 Subject: [PATCH] =?UTF-8?q?fix(SysMenuMapper.xml):=20=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E8=A7=92=E8=89=B2=E6=8C=89=E9=92=AE=E6=9D=83=E9=99=90=E9=87=8D?= =?UTF-8?q?=E6=96=B0=E7=99=BB=E5=BD=95=E6=97=A0=E6=95=88=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes https://gitee.com/youlaiorg/youlai-boot/issues/I7DI8B --- 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