From 0ab2ae12ce7a40b3436374cf8071055bd0aa0aff Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期二, 26 五月 2026 11:12:52 +0800
Subject: [PATCH] 新增七大步骤所有附件列表接口

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

diff --git a/ruoyi-project/src/main/resources/mapper/project/ServiceDeathinfoMapper.xml b/ruoyi-project/src/main/resources/mapper/project/ServiceDeathinfoMapper.xml
index af68ab4..8bf3afe 100644
--- a/ruoyi-project/src/main/resources/mapper/project/ServiceDeathinfoMapper.xml
+++ b/ruoyi-project/src/main/resources/mapper/project/ServiceDeathinfoMapper.xml
@@ -149,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