fix lastleg order detail customer schema

This commit is contained in:
2026-08-24 11:55:50 +08:00
parent 4977b09af9
commit 739c20cb3d
7 changed files with 63 additions and 2 deletions
@@ -116,6 +116,7 @@ public class InboundStockReceiptService {
order.setUpdatedAt(completedAt);
orders.updateById(order);
LastlegOrderStatusHistory history = new LastlegOrderStatusHistory();
history.setCustomerId(order.getCustomerId());
history.setOrderId(order.getId());
history.setFromStatus(before);
history.setToStatus("INBOUND_COMPLETED");