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}