From 2c1d32f4371145dc8636864fb268f316a57e77cb Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期三, 29 四月 2026 10:29:17 +0800
Subject: [PATCH] MQTT出库订单补充
---
src/main/java/com/zy/integration/iot/biz/impl/IotInstructionServiceImpl.java | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/zy/integration/iot/biz/impl/IotInstructionServiceImpl.java b/src/main/java/com/zy/integration/iot/biz/impl/IotInstructionServiceImpl.java
index 2c88fba..1e7f83c 100644
--- a/src/main/java/com/zy/integration/iot/biz/impl/IotInstructionServiceImpl.java
+++ b/src/main/java/com/zy/integration/iot/biz/impl/IotInstructionServiceImpl.java
@@ -124,7 +124,7 @@
String remoteDestination = extractFirstDestination(message.getDestinationLocationIds());
// Integer stationId = Cools.isEmpty(remoteDestination) ? null : iotProperties.getPickStationMappings().get(remoteDestination);
- Integer stationId =311;
+ Integer stationId =602;
if (stationId == null) {
return updateAsFailure(record, IotConstants.ERROR_CODE_STATION_MAPPING, "鏈壘鍒扮洰鏍囧嚭搴撳彛鏄犲皠");
}
@@ -133,7 +133,8 @@
param.setPalletId(message.getContainerId());
param.setOrderId(resolveReferenceId(message));
param.setStationId(String.valueOf(stationId));
- param.setSeq(1);
+ param.setBatchSeq("amazon"+new Date().getTime());
+ param.setSeq(0);
R result = externalTaskFacadeService.createOutboundTask(param, true);
if (result == null || !Objects.equals(result.get("code"), 200)) {
return updateAsFailure(record, null, resolveResultMessage(result, "鎺ユ敹鎷h揣鎸囦护澶辫触"));
--
Gitblit v1.9.1