From b036e78d85da77bcc88c5aa077e099a4a4609f03 Mon Sep 17 00:00:00 2001
From: Gold_Fish <1343023970@qq.com>
Date: Mon, 30 Aug 2021 02:42:49 +0000
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=B9=E6=8D=AEuserId?=
=?UTF-8?q?=E8=8E=B7=E5=8F=96=E8=8F=9C=E5=8D=95sql?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/main/resources/mapper/system/SysMenuMapper.xml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ruoyi-system/src/main/resources/mapper/system/SysMenuMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysMenuMapper.xml
index 9d2cd0a..afd7e0e 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysMenuMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysMenuMapper.xml
@@ -61,13 +61,13 @@
left join sys_role ro on ur.role_id = ro.role_id
where ur.user_id = #{params.userId}
- AND menu_name like concat('%', #{menuName}, '%')
+ AND m.menu_name like concat('%', #{menuName}, '%')
- AND visible = #{visible}
+ AND m.visible = #{visible}
- AND status = #{status}
+ AND m.status = #{status}
order by m.parent_id, m.order_num