From be43e890802f764590489d510cfc95f40eba5f47 Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期四, 23 四月 2026 11:19:54 +0800
Subject: [PATCH] 保存成功返回ID,姓名,上报人模糊查询

---
 ruoyi-project/src/main/resources/mapper/project/ServiceDonatemaintenanceMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ruoyi-project/src/main/resources/mapper/project/ServiceDonatemaintenanceMapper.xml b/ruoyi-project/src/main/resources/mapper/project/ServiceDonatemaintenanceMapper.xml
index 68024d7..53056ce 100644
--- a/ruoyi-project/src/main/resources/mapper/project/ServiceDonatemaintenanceMapper.xml
+++ b/ruoyi-project/src/main/resources/mapper/project/ServiceDonatemaintenanceMapper.xml
@@ -78,8 +78,8 @@
             <if test="caseNo != null  and caseNo != ''">and case_no = #{caseNo}</if>
             <if test="reportTime != null ">and ReportTime = #{reportTime}</if>
             <if test="donorno != null  and donorno != ''">and DonorNo = #{donorno}</if>
-            <if test="name != null  and name != ''">and name = #{name}</if>
-            <if test="coordinatorName != null  and coordinatorName != ''">and coordinator_name = #{coordinatorName}</if>
+            <if test="name != null  and name != ''">and name like concat('%', #{name}, '%')</if>
+            <if test="coordinatorName != null  and coordinatorName != ''">and coordinator_name like concat('%', #{coordinatorName}, '%')</if>
             <if test="itemNo != null  and itemNo != ''">and item_no = #{itemNo}</if>
             <if test="itemName != null  and itemName != ''">and item_name like concat('%', #{itemName}, '%')</if>
             <if test="itemTime != null ">and item_time = #{itemTime}</if>

--
Gitblit v1.9.3