From bbc49edb5ee97672fb1640acf85e21e99c82a94f 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:45:50 +0000 Subject: [PATCH] =?UTF-8?q?Revert=20"fix(SysMenuMapper.xml):=20=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E8=A7=92=E8=89=B2=E6=8C=89=E9=92=AE=E6=9D=83=E9=99=90?= =?UTF-8?q?=E9=87=8D=E6=96=B0=E7=99=BB=E5=BD=95=E6=97=A0=E6=95=88=E9=97=AE?= =?UTF-8?q?=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 ca91ad714b5d3695832f3123ad902edd4fcc51d0. --- 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 039d9e63..bda56899 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 ON t1.id = t2.menu_id - INNER JOIN sys_role t3 ON t3.id = t2.role_id + INNER JOIN sys_role_menu t2 + INNER JOIN sys_role t3 WHERE t1.type = '${@com.youlai.system.common.enums.MenuTypeEnum@BUTTON.getValue()}' AND t1.perm IS NOT NULL