From d9a08dc7d6beda0893d882d15c072de239218b02 Mon Sep 17 00:00:00 2001 From: rootwish Date: Wed, 3 Nov 2021 10:31:28 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=A4=9A=E8=A7=92=E8=89=B2?= =?UTF-8?q?=E6=83=85=E5=86=B5=E4=B8=8B=EF=BC=8C=E8=A7=92=E8=89=B2=E9=A1=BA?= =?UTF-8?q?=E5=BA=8F=E4=B8=8D=E5=90=8C=E5=AF=BC=E8=87=B4=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E7=BB=93=E6=9E=9C=E4=B8=8D=E5=90=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pig-upms-biz/src/main/resources/mapper/SysMenuMapper.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pig-upms/pig-upms-biz/src/main/resources/mapper/SysMenuMapper.xml b/pig-upms/pig-upms-biz/src/main/resources/mapper/SysMenuMapper.xml index 1aa98825..b18e05d7 100644 --- a/pig-upms/pig-upms-biz/src/main/resources/mapper/SysMenuMapper.xml +++ b/pig-upms/pig-upms-biz/src/main/resources/mapper/SysMenuMapper.xml @@ -43,7 +43,10 @@ LEFT JOIN sys_role_menu ON sys_menu.menu_id = sys_role_menu.menu_id WHERE sys_menu.del_flag = 0 - AND sys_role_menu.role_id IN (#{roleIds}) + AND sys_role_menu.role_id IN + + #{roleid} + ORDER BY sys_menu.sort DESC