fix(lastleg): align inbound snapshot with schema

This commit is contained in:
2026-08-24 17:22:18 +08:00
parent 5a4bcf130a
commit ce82916036
4 changed files with 10 additions and 4 deletions
@@ -225,7 +225,7 @@ public class LoadingCompletedConsumer {
FirstLegLoadingPlanCompletedV1.Order source, LastlegOrder order,
String orderHash) {
LastlegInboundOrder snapshot = new LastlegInboundOrder();
snapshot.setId(order.getId()); snapshot.setTenantId("BAIYUE");
snapshot.setId(order.getId());
snapshot.setCustomerId(order.getCustomerId()); snapshot.setSourceRegion(event.sourceRegion().name());
snapshot.setSourceInboundId(source.sourceInboundId()); snapshot.setRootInboundId(source.rootInboundId());
snapshot.setSourceOrderId(source.sourceOrderId()); snapshot.setSourceOrderNo(source.sourceOrderNo());