From c80313d274fb13086e3714361acb48d5fc1f7ba7 Mon Sep 17 00:00:00 2001 From: zhaoqiaobo <583671871@qq.com> Date: Mon, 30 Dec 2024 14:01:56 +0800 Subject: [PATCH] =?UTF-8?q?feat(all):=20=E7=B4=A2=E8=8F=B2=E4=BA=9A?= =?UTF-8?q?=E5=B7=A5=E5=8E=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1 增加华之韵物流对接 --- .../suofeiya/service/impl/FactoryDataServiceImpl.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/blade-service/logpm-factory-data/logpm-factory-data-suofeiya/src/main/java/com/logpm/factorydata/suofeiya/service/impl/FactoryDataServiceImpl.java b/blade-service/logpm-factory-data/logpm-factory-data-suofeiya/src/main/java/com/logpm/factorydata/suofeiya/service/impl/FactoryDataServiceImpl.java index e3bf543b8..8d377b304 100644 --- a/blade-service/logpm-factory-data/logpm-factory-data-suofeiya/src/main/java/com/logpm/factorydata/suofeiya/service/impl/FactoryDataServiceImpl.java +++ b/blade-service/logpm-factory-data/logpm-factory-data-suofeiya/src/main/java/com/logpm/factorydata/suofeiya/service/impl/FactoryDataServiceImpl.java @@ -219,7 +219,9 @@ public class FactoryDataServiceImpl implements FactoryDataService { } } jsons.set("packageInfo", new JSONArray(packages)); - jsons.set("orderType", key); + if(StrUtil.equals(key, "Z")){ + jsons.set("orderType", "Y"); + } String jsonStr = JSONUtil.toJsonStr(jsons); if (oldProperties.getEnable()) { try { @@ -268,7 +270,9 @@ public class FactoryDataServiceImpl implements FactoryDataService { jsons.set("paNo", JSONUtil.toJsonStr(packages)); jsons.set("remark", ""); jsons.set("orderExtendFields", new JSONArray()); - jsons.set("orderType", key); + if(StrUtil.equals(key, "Z")){ + jsons.set("orderType", "Y"); + } String jsonStr = JSONUtil.toJsonStr(jsons); if (oldProperties.getEnable()) { try {