From 737bbdc3acf3796f162592e6dc804d26a7d6c0f4 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 28 十月 2026 19:40:31 +0800
Subject: [PATCH] fix(list): 各业务台账列表按业务日期倒序排列

---
 src/main/resources/mapper/account/purchase/AccountPaymentApplicationMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/account/purchase/AccountPaymentApplicationMapper.xml b/src/main/resources/mapper/account/purchase/AccountPaymentApplicationMapper.xml
index f4d6284..3764b11 100644
--- a/src/main/resources/mapper/account/purchase/AccountPaymentApplicationMapper.xml
+++ b/src/main/resources/mapper/account/purchase/AccountPaymentApplicationMapper.xml
@@ -44,7 +44,7 @@
                 AND A.apply_date BETWEEN #{req.startDate} AND #{req.endDate}
             </if>
         </where>
-        order by A.id desc
+        order by A.apply_date desc, A.id desc
     </select>
 
     <select id="getInboundBatchesBySupplier"

--
Gitblit v1.9.3