fix(lastleg): align inbound snapshot with schema
This commit is contained in:
@@ -13,7 +13,6 @@ import java.time.LocalDateTime;
|
||||
@TableName("ll_inbound_order")
|
||||
public class LastlegInboundOrder {
|
||||
@TableId private Long id;
|
||||
private String tenantId;
|
||||
private String customerId;
|
||||
private String sourceRegion;
|
||||
private String sourceInboundId;
|
||||
|
||||
+1
-1
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user