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/DictMapper.xml | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/resources/mapper/data/DictMapper.xml b/src/main/resources/mapper/data/DictMapper.xml index d74add0..b8be40f 100644 --- a/src/main/resources/mapper/data/DictMapper.xml +++ b/src/main/resources/mapper/data/DictMapper.xml @@ -9,7 +9,7 @@ and ns = #{ns} </if> <if test="tab != null"> - and tab like #{tab} + and upper(tab) like #{tab} </if> </where> </select> @@ -22,7 +22,7 @@ and ns = #{ns} </if> <if test="tab != null"> - and tab like #{tab} + and upper(tab) like #{tab} </if> </where> order by ns,tab,id @@ -39,7 +39,7 @@ <where> field = #{field} and status = 0 <if test="name != null"> - and (tab like #{name} or tab_desc like #{name}) + and (upper(tab) like #{name} or upper(tab_desc) like #{name}) </if> </where> order by id; -- Gitblit v1.9.3