feat: add dropship fulfillment producer chain

This commit is contained in:
2026-08-25 08:40:27 +08:00
parent c218bfad6b
commit 4839243f21
35 changed files with 389 additions and 53 deletions
@@ -210,9 +210,11 @@ public class LoadingCompletedConsumer {
LastlegOrderStatusHistory history=new LastlegOrderStatusHistory(); history.setCustomerId(customerId);
history.setOrderId(order.getId()); history.setToStatus("PENDING_ASSIGNMENT"); history.setEventId(event.eventId());
history.setRemark("头程装柜完成自动生成"); history.setCreatedAt(LocalDateTime.now()); historyMapper.insert(history);
if ("FIRST_LEG".equals(orderType)) {
if ("FIRST_LEG".equals(orderType) || "ONE_CLICK_DROPSHIP".equals(orderType)) {
InboundPlanResponse plan = inboundPlans.convert(customerId, order.getId());
registerInTransit(event, payload, source, order, plan.planNo());
if ("FIRST_LEG".equals(orderType)) {
registerInTransit(event, payload, source, order, plan.planNo());
}
}
if ("ONE_CLICK_DROPSHIP".equals(orderType)) {
long warehouseId;