自动化立体仓库 - WMS系统
zwl
4 天以前 094aa85a23b0e54b1600dc40a915d37058a3f8e9
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, "接收拣货指令失败"));