From f3d0cf42321bb6f0f3c03a66c3d33c260f5d593e Mon Sep 17 00:00:00 2001
From: zhang_nuo <zhang_12370@163.com>
Date: 星期日, 13 九月 2026 13:18:17 +0800
Subject: [PATCH] feat[production]: 生产作业任务新增领料状态字段

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

diff --git a/src/main/resources/mapper/stock/StockInRecordMapper.xml b/src/main/resources/mapper/stock/StockInRecordMapper.xml
index 2c04a10..1e85b70 100644
--- a/src/main/resources/mapper/stock/StockInRecordMapper.xml
+++ b/src/main/resources/mapper/stock/StockInRecordMapper.xml
@@ -120,7 +120,7 @@
                 and p.id in (select id from product_tree)
             </if>
         </where>
-        order by sir.create_time desc
+        order by sir.inbound_batches desc
     </select>
     <select id="listStockInRecordExportData" resultType="com.ruoyi.stock.execl.StockInRecordExportData">
         SELECT

--
Gitblit v1.9.3