库存调整记录倒序排序;

This commit is contained in:
王奎兴
2026-04-18 16:51:24 +08:00
parent 565eb609d1
commit 70d86d490b
@@ -134,6 +134,7 @@ public class InventoryAdjustmentRecordApplicationService {
// 3. 为每个物料明细设置更多属性(从库存表中获取值)
setMaterialMoreDetailListFromInventory(inventoryAdjustmentRecordPOS, batchDetailMap);
inventoryAdjustmentRecordPOS.sort(Comparator.comparing(InventoryAdjustmentRecordPO::getCreateTime).reversed());
return inventoryAdjustmentRecordPOS;
}