From fb7ede83b597d7e22166423cc821d8a0dd4ac5b9 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期一, 20 三月 2023 18:04:24 +0800
Subject: [PATCH] 1

---
 src/main/resources/mapper/sys/RoleMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mapper/sys/RoleMapper.xml b/src/main/resources/mapper/sys/RoleMapper.xml
index 0f42df9..34d6b54 100644
--- a/src/main/resources/mapper/sys/RoleMapper.xml
+++ b/src/main/resources/mapper/sys/RoleMapper.xml
@@ -6,7 +6,7 @@
         <where>
             1=1
             <if test="name != null">
-                and a.name like #{name}
+                and upper(a.name) like #{name}
             </if>
             <if test="depid != null">
                 and a.depid = #{depid}
@@ -20,7 +20,7 @@
         <where>
             1=1
             <if test="name != null">
-                and a.name like #{name}
+                and upper(a.name) like #{name}
             </if>
             <if test="depid != null">
                 and a.depid = #{depid}

--
Gitblit v1.9.3