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));