From 1fba8f84b6326b2f1d613ec02890386ad512f184 Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期六, 09 五月 2026 09:45:34 +0800
Subject: [PATCH] 青附院opo捐献亲属确认增加状态 青附院opo患者死亡信息增加状态 青附院opo供体维护记录增加状态

---
 ruoyi-project/src/main/resources/mapper/project/ServiceDonatemaintenanceMapper.xml |    7 ++++---
 1 files changed, 4 insertions(+), 3 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..6a74211 100644
--- a/ruoyi-project/src/main/resources/mapper/project/ServiceDonatemaintenanceMapper.xml
+++ b/ruoyi-project/src/main/resources/mapper/project/ServiceDonatemaintenanceMapper.xml
@@ -63,7 +63,8 @@
         sdm.item_name as itemName,
         sdm.item_time as itemTime,
         sdt.DeathTime as deathTime,
-        sdm.item_desc as itemDesc
+        sdm.item_desc as itemDesc,
+        sdm.state
         FROM
         service_donatebaseinfo sd
         LEFT JOIN service_donatemaintenance sdm ON sd.ID = sdm.InfoID
@@ -78,8 +79,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