From 1d829a7e5c234e0da00a8af87e8c80e04dbf312f Mon Sep 17 00:00:00 2001 From: zhaoqiaobo <583671871@qq.com> Date: Fri, 25 Oct 2024 17:14:08 +0800 Subject: [PATCH] =?UTF-8?q?feat(all):=20=E4=BF=AE=E6=94=B9=E7=B4=A2?= =?UTF-8?q?=E8=8F=B2=E4=BA=9A=E5=9B=9E=E4=BC=A0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1 增加索菲亚回传的格式不正确问题 --- .../com/logpm/factorydata/suofeiya/mq/NodeDataPushListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blade-service/logpm-factory-data/logpm-factory-data-suofeiya/src/main/java/com/logpm/factorydata/suofeiya/mq/NodeDataPushListener.java b/blade-service/logpm-factory-data/logpm-factory-data-suofeiya/src/main/java/com/logpm/factorydata/suofeiya/mq/NodeDataPushListener.java index 212e4a2ae..ecab1c6e8 100644 --- a/blade-service/logpm-factory-data/logpm-factory-data-suofeiya/src/main/java/com/logpm/factorydata/suofeiya/mq/NodeDataPushListener.java +++ b/blade-service/logpm-factory-data/logpm-factory-data-suofeiya/src/main/java/com/logpm/factorydata/suofeiya/mq/NodeDataPushListener.java @@ -79,7 +79,7 @@ public class NodeDataPushListener { js.set("logisticsStatus", factoryNode.getText()); packages.add(js); } - jsons.set("packageInfo", JSONUtil.toJsonStr(packages)); + jsons.set("packageInfo", new JSONArray(packages)); if (oldProperties.getEnable()) { try { log.info("推送节点数据:{}", JSONUtil.toJsonStr(jsons));