From 3d191e81842cf3bcd6f841fbe2fc3d451c45ef99 Mon Sep 17 00:00:00 2001
From: hongjli <3117313295@qq.com>
Date: 星期三, 14 五月 2025 13:54:40 +0800
Subject: [PATCH] 钣金计划大表增加“异常状态”字段
---
aps-modules/aps-system/src/main/resources/mapper/system/SysMenuMapper.xml | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/aps-modules/aps-system/src/main/resources/mapper/system/SysMenuMapper.xml b/aps-modules/aps-system/src/main/resources/mapper/system/SysMenuMapper.xml
index ee7c555..3454e67 100644
--- a/aps-modules/aps-system/src/main/resources/mapper/system/SysMenuMapper.xml
+++ b/aps-modules/aps-system/src/main/resources/mapper/system/SysMenuMapper.xml
@@ -37,7 +37,7 @@
<include refid="selectMenuVo"/>
<where>
<if test="menuName != null and menuName != ''">
- AND menu_name like concat('%', #{menuName}, '%')
+ AND menu_name like '%' || #{menuName} || '%'
</if>
<if test="visible != null and visible != ''">
AND visible = #{visible}
@@ -63,7 +63,7 @@
left join sys_role ro on ur.role_id = ro.role_id
where ur.user_id = #{params.userId}
<if test="menuName != null and menuName != ''">
- AND m.menu_name like concat('%', #{menuName}, '%')
+ AND m.menu_name like '%' || #{menuName} || '%'
</if>
<if test="visible != null and visible != ''">
AND m.visible = #{visible}
@@ -81,7 +81,7 @@
left join sys_user_role ur on rm.role_id = ur.role_id
left join sys_role ro on ur.role_id = ro.role_id
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
+ where u.user_id = #{userId} and m.menu_type in ('M', 'C') and m.status = '0' AND ro.status = '0'
order by m.parent_id, m.order_num
</select>
--
Gitblit v1.9.3