From 4770b0d3e33f27f58ad0ccc1cfb70ab223018b25 Mon Sep 17 00:00:00 2001 From: hewenqiang <1527468660@qq.com> Date: Wed, 16 Mar 2022 16:53:17 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8D=E6=A0=B9=E6=8D=AE?= =?UTF-8?q?=E7=94=A8=E6=88=B7ID=E6=9F=A5=E8=AF=A2=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E4=BF=A1=E6=81=AFSQL=E6=8A=A5=E9=94=99=E3=80=82`status`?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E4=B8=BAchar=E7=B1=BB=E5=9E=8B=EF=BC=8C?= =?UTF-8?q?=E5=BA=94=E8=AF=A5=E4=BC=A0=E5=AD=97=E7=AC=A6=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=EF=BC=8C=E6=AD=A4=E5=A4=84=E5=AD=98=E5=9C=A8=E9=9A=90=E5=BC=8F?= =?UTF-8?q?=E8=BD=AC=E6=8D=A2=E9=97=AE=E9=A2=98=E3=80=82=EF=BC=88MySQL?= =?UTF-8?q?=E8=83=BD=E8=87=AA=E5=8A=A8=E8=BD=AC=E6=8D=A2=EF=BC=8CPostgreSQ?= =?UTF-8?q?L=E8=BD=AC=E6=8D=A2=E6=8A=A5=E9=94=99=EF=BC=89=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/system/SysMenuMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/SysMenuMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysMenuMapper.xml index df17efd4..08838c59 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysMenuMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysMenuMapper.xml @@ -60,8 +60,8 @@ left join sys_user u on ur.user_id = u.user_id where u.user_id = #{userId} and m.menu_type in ('M', 'C') - and m.status = 0 - AND ro.status = 0 + and m.status = '0' + and ro.status = '0' order by m.parent_id, m.order_num