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

---
 src/main/resources/mapper/data/MetaMapper.xml |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/main/resources/mapper/data/MetaMapper.xml b/src/main/resources/mapper/data/MetaMapper.xml
index de68515..b2db861 100644
--- a/src/main/resources/mapper/data/MetaMapper.xml
+++ b/src/main/resources/mapper/data/MetaMapper.xml
@@ -15,7 +15,7 @@
                 and verid = #{verid}
             </if>
             <if test="name != null">
-                and name like #{name}
+                and upper(name) like #{name}
             </if>
         </where>
     </select>
@@ -35,7 +35,7 @@
                 and verid = #{verid}
             </if>
             <if test="name != null">
-                and name like #{name}
+                and upper(name) like #{name}
             </if>
         </where>
         order by id desc
@@ -53,7 +53,7 @@
                 and (${dirs})
             </if>
             <if test="name != null">
-                and name like #{name}
+                and upper(name) like #{name}
             </if>
         </where>
     </select>
@@ -73,7 +73,7 @@
 				and (${dirs})
 			</if>
             <if test="name != null">
-                and name like #{name}
+                and upper(name) like #{name}
             </if>
         </where>
         order by id desc
@@ -88,7 +88,7 @@
                 and type in (${types})
             </if>
             <if test="name != null">
-                and name like #{name}
+                and upper(name) like #{name}
             </if>
         </where>
     </select>
@@ -102,7 +102,7 @@
                 and type in (${types})
             </if>
             <if test="name != null">
-                and name like #{name}
+                and upper(name) like #{name}
             </if>
         </where>
         order by id desc
@@ -114,7 +114,7 @@
         <where>
             metaid = #{metaid}
             <if test="name != null">
-                and name like #{name}
+                and upper(name) like #{name}
             </if>
         </where>
     </select>
@@ -125,7 +125,7 @@
         <where>
             metaid = #{metaid}
             <if test="name != null">
-                and name like #{name}
+                and upper(name) like #{name}
             </if>
         </where>
         order by id desc

--
Gitblit v1.9.3