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 {