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/BlacklistMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mapper/sys/BlacklistMapper.xml b/src/main/resources/mapper/sys/BlacklistMapper.xml index 94817cb..e249adb 100644 --- a/src/main/resources/mapper/sys/BlacklistMapper.xml +++ b/src/main/resources/mapper/sys/BlacklistMapper.xml @@ -6,7 +6,7 @@ <where> 1 = 1 <if test="ip != null"> - and ip like #{ip} + and upper(ip) like #{ip} </if> <if test="type != null"> and type = #{type} @@ -19,7 +19,7 @@ <where> 1 = 1 <if test="ip != null"> - and a.ip like #{ip} + and upper(a.ip) like #{ip} </if> <if test="type != null"> and a.type = #{type} -- Gitblit v1.9.3