From 4d7b4d226168bbb40fcc6910a73f39a82f85776f Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期二, 26 五月 2026 11:05:07 +0800
Subject: [PATCH] 新增七大步骤所有附件列表接口
---
ruoyi-project/src/main/resources/mapper/project/ServiceDeathinfoMapper.xml | 21 ++++++++++++++++++---
1 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/ruoyi-project/src/main/resources/mapper/project/ServiceDeathinfoMapper.xml b/ruoyi-project/src/main/resources/mapper/project/ServiceDeathinfoMapper.xml
index 65162c8..8bf3afe 100644
--- a/ruoyi-project/src/main/resources/mapper/project/ServiceDeathinfoMapper.xml
+++ b/ruoyi-project/src/main/resources/mapper/project/ServiceDeathinfoMapper.xml
@@ -49,7 +49,13 @@
update_by,
update_time,
judgment_description,
- ext_content
+ ext_content,
+ state,
+ heartDeathTime
+ heartDeathReason
+ heartDeathJudgeDoctO
+ heartDeathJudgeDoctT
+ heartDeathJudgeAnnex
from service_deathinfo
</sql>
@@ -109,7 +115,13 @@
sdi.IsRestoreRemains as isrestoreremains,
sdi.RememberAnnex as rememberannex,
sdi.ResponsibleUserID as responsibleuserid,
- sdi.ResponsibleUserName as responsibleusername
+ sdi.ResponsibleUserName as responsibleusername,
+ sdi.state,
+ sdi.heartDeathTime as heartdeathtime,
+ sdi.heartDeathReason as heartdeathreason,
+ sdi.heartDeathJudgeDoctO as heartdeathjudgedocto,
+ sdi.heartDeathJudgeDoctT as heartdeathjudgedoctt,
+ sdi.heartDeathJudgeAnnex as heartdeathjudgeannex
FROM
service_donatebaseinfo sd
LEFT JOIN service_deathinfo sdi ON sd.ID = sdi.InfoID
@@ -137,8 +149,11 @@
<if test="responsibleusername != null and responsibleusername != ''">and sd.ResponsibleUserName like
concat('%',#{responsibleusername}, '%')
</if>
-
+ <if test="state != null and state != ''">and sdi.state = #{state}</if>
+ <if test="startDeathtime != null and endDeathtime != null ">and sdi.DeathTime BETWEEN #{startDeathtime} and #{endDeathtime}</if>
</where>
+
+ order by sd.InpatientNo desc
<if test="pageNum != null and pageSize != null">limit #{pageNum},#{pageSize}</if>
</select>
--
Gitblit v1.9.3