From eefcdefe106d2da0c2c9a09ea788ce0164984fff Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期四, 25 六月 2026 15:59:02 +0800
Subject: [PATCH] fix: 发货台账排序根据发货编号倒序

---
 src/main/resources/mapper/sales/SalesLedgerProductMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/sales/SalesLedgerProductMapper.xml b/src/main/resources/mapper/sales/SalesLedgerProductMapper.xml
index c8b0226..99a95a6 100644
--- a/src/main/resources/mapper/sales/SalesLedgerProductMapper.xml
+++ b/src/main/resources/mapper/sales/SalesLedgerProductMapper.xml
@@ -159,7 +159,7 @@
         sl.supplier_name,
         pm.thickness
         ORDER BY
-        slp.product_category
+        sl.entry_date desc
     </select>
 
     <select id="procurementBusinessSummaryStatistics"

--
Gitblit v1.9.3