From cb01a55fa3d8883edff7837f7d87a098e39b0ccb Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期五, 29 五月 2026 17:34:06 +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