From 1443d5a84a4df99d9a86ac04c904554e91ae8271 Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期日, 12 四月 2026 15:35:06 +0800
Subject: [PATCH] 1.针对7.3接口文档,新增了几个字段需要加入到组托档中,不额外加字段 2.针对7.11接口文档,对outOrder方法进行重写,batchSeq在wrkMast表中新增一个字段放,entryWmsCode、outDoorNo这两个在wrkDetl中找两个字段存放 3.针对7.7接口文档,上报时加上orderId出库单号 4.针对7.9接口文档,wcs会先请求wms,只需要palletId托盘码,errorMsg错误信息;wms转发给加上orderId出库单号转发给ERP 5.针对7.10接口文档,ERP先按照这个文档发给wms,wms再发给wcs,发给wcs这块先不写
---
src/test/java/com/zy/integration/iot/IotSupportTest.java | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/src/test/java/com/zy/integration/iot/IotSupportTest.java b/src/test/java/com/zy/integration/iot/IotSupportTest.java
index b93cd14..63f3180 100644
--- a/src/test/java/com/zy/integration/iot/IotSupportTest.java
+++ b/src/test/java/com/zy/integration/iot/IotSupportTest.java
@@ -14,11 +14,18 @@
properties.setPort(8883);
properties.setThingName("thing-a");
- Assertions.assertEquals("ssl://example-ats.iot.cn-north-1.amazonaws.com.cn:8883", properties.getServerUri());
- Assertions.assertEquals("thing-a", properties.getResolvedClientId());
+ Assertions.assertEquals("mqtts://example-ats.iot.cn-north-1.amazonaws.com.cn:8883", properties.getServerUri());
+ String thingId = properties.getResolvedClientId();
+ Assertions.assertNotNull(thingId);
+ Assertions.assertTrue(thingId.startsWith("thing-a-"));
+ Assertions.assertEquals(thingId, properties.getResolvedClientId());
- properties.setClientId("client-b");
- Assertions.assertEquals("client-b", properties.getResolvedClientId());
+ IotProperties withClient = new IotProperties();
+ withClient.setClientId("client-b");
+ String cid = withClient.getResolvedClientId();
+ Assertions.assertNotNull(cid);
+ Assertions.assertTrue(cid.startsWith("client-b-"));
+ Assertions.assertEquals(cid, withClient.getResolvedClientId());
}
@Test
--
Gitblit v1.9.1