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/LoginMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mapper/sys/LoginMapper.xml b/src/main/resources/mapper/sys/LoginMapper.xml
index c9e4c22..4f96ef3 100644
--- a/src/main/resources/mapper/sys/LoginMapper.xml
+++ b/src/main/resources/mapper/sys/LoginMapper.xml
@@ -6,7 +6,7 @@
         <where>
             1 = 1
             <if test="uname != null">
-                and b.uname like #{uname}
+                and upper(b.uname) like #{uname}
             </if>
             <if test="type != null">
                 and a.type = #{type}
@@ -25,7 +25,7 @@
         <where>
             1 = 1
             <if test="uname != null">
-                and b.uname like #{uname}
+                and upper(b.uname) like #{uname}
             </if>
             <if test="type != null">
                 and a.type = #{type}

--
Gitblit v1.9.3