From 34599c2b887dd98d822cb993125920817505cd6d Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期三, 28 十月 2026 15:47:41 +0800
Subject: [PATCH] 捐献完成列表返回增加疾病诊断名称,捐献确认列表添加终止案例过滤
---
ruoyi-project/src/main/resources/mapper/project/ServiceRelativesconfirmationMapper.xml | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ruoyi-project/src/main/resources/mapper/project/ServiceRelativesconfirmationMapper.xml b/ruoyi-project/src/main/resources/mapper/project/ServiceRelativesconfirmationMapper.xml
index 8c48d78..17c0e5f 100644
--- a/ruoyi-project/src/main/resources/mapper/project/ServiceRelativesconfirmationMapper.xml
+++ b/ruoyi-project/src/main/resources/mapper/project/ServiceRelativesconfirmationMapper.xml
@@ -315,6 +315,7 @@
LEFT JOIN service_relativesconfirmation sr ON sd.ID = sr.InfoID and sd.del_flag = 0
AND sr.del_flag = 0
<where>
+ sd.termination_case = 0
<if test="infoid != null">AND sd.ID = #{infoid}</if>
<if test="recordstate != null and recordstate != ''">AND sd.RecordState = #{recordstate}</if>
<if test="caseNo != null and caseNo != ''">AND sd.case_no = #{caseNo}</if>
@@ -340,7 +341,7 @@
and sr.SignDate <= #{endSigndate}
</if>
</where>
- order by sd.InpatientNo desc
+ order by sd.ReportTime desc
<if test="pageNum != null and pageSize != null">limit #{pageNum},#{pageSize}</if>
</select>
--
Gitblit v1.9.3