From 86ce1aaf6819a6d62cfba4233219fa4661aacbff Mon Sep 17 00:00:00 2001
From: 刘帅 <rr.iii@qq.com>
Date: 星期一, 21 九月 2026 17:49:55 +0800
Subject: [PATCH] bug:测试问题统一修改
---
cloud-server-account/src/main/resources/mapper/RefereeMapper.xml | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/cloud-server-account/src/main/resources/mapper/RefereeMapper.xml b/cloud-server-account/src/main/resources/mapper/RefereeMapper.xml
index 6f6dec6..7f853fb 100644
--- a/cloud-server-account/src/main/resources/mapper/RefereeMapper.xml
+++ b/cloud-server-account/src/main/resources/mapper/RefereeMapper.xml
@@ -12,6 +12,9 @@
CONCAT(province, city) as province,
state
from t_referee where state != 3
+ <if test="null != item.id">
+ and id = #{item.id}
+ </if>
<if test="null != item.name and '' != item.name">
and name like CONCAT('%', #{item.name}, '%')
</if>
@@ -32,6 +35,9 @@
select
count(*)
from t_referee where state != 3
+ <if test="null != item.id">
+ and id = #{item.id}
+ </if>
<if test="null != item.name and '' != item.name">
and name like CONCAT('%', #{item.name}, '%')
</if>
@@ -45,4 +51,4 @@
and cityCode = #{item.cityCode}
</if>
</select>
-</mapper>
\ No newline at end of file
+</mapper>
--
Gitblit v1.7.1