fix: persist overseas delivery completion history

This commit is contained in:
2026-09-15 12:47:45 +08:00
parent 13ff7e1513
commit a7a6d78568
2 changed files with 64 additions and 1 deletions
@@ -56,7 +56,7 @@ public class OrderFulfillmentCompletionService {
OrderStatusHistoryEntity history = new OrderStatusHistoryEntity();
history.setId(IdWorker.getId()); history.setTenantId(tenantId); history.setOrderId(orderId);
history.setFromStatus(from); history.setToStatus(OrderStatus.COMPLETED);
history.setAction("OVERSEAS_DELIVERY_COMPLETED");
history.setAction("OVERSEAS_DELIVERED");
history.setReason("海外派送单 " + request.deliveryNo() + " 已签收");
history.setOperatorId(0L); history.setOperatorName("OVERSEAS_EVENT_BRIDGE");
history.setOccurredAt(completedAt); histories.insert(history);