From a5a5124dec9cc40c4dfcd1cce7373703feda5175 Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期四, 27 八月 2026 10:26:36 +0800
Subject: [PATCH] fix: 入库记录修改为批号倒序
---
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