From 82a0d121b3581b3634887850e0bded5874afc85d Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期一, 26 十月 2026 11:03:15 +0800
Subject: [PATCH] 接口按service_donatebaseinfo表ReportTime 字段倒序

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

diff --git a/ruoyi-project/src/main/resources/mapper/project/ServiceDonationwitnessMapper.xml b/ruoyi-project/src/main/resources/mapper/project/ServiceDonationwitnessMapper.xml
index 6d08453..bd9968f 100644
--- a/ruoyi-project/src/main/resources/mapper/project/ServiceDonationwitnessMapper.xml
+++ b/ruoyi-project/src/main/resources/mapper/project/ServiceDonationwitnessMapper.xml
@@ -181,7 +181,7 @@
             <if test="infoid != null">and sd.ID = #{infoid}</if>
             <if test="witnessState != null">and st.witness_state = #{witnessState}</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