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

diff --git a/src/main/resources/mapper/data/VerMapper.xml b/src/main/resources/mapper/data/VerMapper.xml
index 2aab88f..f2fbcd4 100644
--- a/src/main/resources/mapper/data/VerMapper.xml
+++ b/src/main/resources/mapper/data/VerMapper.xml
@@ -10,7 +10,7 @@
                 and a.dirid = ANY(fn_rec_array(#{dirid}, 'dir'))
             </if>
             <if test="name != null">
-                and a.name like #{name}
+                and upper(a.name) like #{name}
             </if>
         </where>
     </select>
@@ -24,7 +24,7 @@
                 and a.dirid = ANY(fn_rec_array(#{dirid}, 'dir'))
             </if>
             <if test="name != null">
-                and a.name like #{name}
+                and upper(a.name) like #{name}
             </if>
         </where>
         order by id desc

--
Gitblit v1.9.3