From 554ab9ca7d27df15886ef895d4f13b0adaca3eaa Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期三, 17 六月 2026 16:30:02 +0800
Subject: [PATCH] fix(quality): 修正质量检查排序字段

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

diff --git a/src/main/resources/mapper/stock/StockOutRecordMapper.xml b/src/main/resources/mapper/stock/StockOutRecordMapper.xml
index ad5976f..33e42ec 100644
--- a/src/main/resources/mapper/stock/StockOutRecordMapper.xml
+++ b/src/main/resources/mapper/stock/StockOutRecordMapper.xml
@@ -62,7 +62,7 @@
                 and p.id in (select id from product_tree)
             </if>
         </where>
-        order by sor.id desc
+        order by sor.create_time desc
     </select>
     <select id="listStockOutRecordExportData" resultType="com.ruoyi.stock.execl.StockOutRecordExportData">
         SELECT

--
Gitblit v1.9.3