Browse Source

feat(all): 索菲亚工厂

1 增加华之韵物流对接
pre-production
zhaoqiaobo 3 weeks ago
parent
commit
c80313d274
  1. 8
      blade-service/logpm-factory-data/logpm-factory-data-suofeiya/src/main/java/com/logpm/factorydata/suofeiya/service/impl/FactoryDataServiceImpl.java

8
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("packageInfo", new JSONArray(packages));
jsons.set("orderType", key); if(StrUtil.equals(key, "Z")){
jsons.set("orderType", "Y");
}
String jsonStr = JSONUtil.toJsonStr(jsons); String jsonStr = JSONUtil.toJsonStr(jsons);
if (oldProperties.getEnable()) { if (oldProperties.getEnable()) {
try { try {
@ -268,7 +270,9 @@ public class FactoryDataServiceImpl implements FactoryDataService {
jsons.set("paNo", JSONUtil.toJsonStr(packages)); jsons.set("paNo", JSONUtil.toJsonStr(packages));
jsons.set("remark", ""); jsons.set("remark", "");
jsons.set("orderExtendFields", new JSONArray()); jsons.set("orderExtendFields", new JSONArray());
jsons.set("orderType", key); if(StrUtil.equals(key, "Z")){
jsons.set("orderType", "Y");
}
String jsonStr = JSONUtil.toJsonStr(jsons); String jsonStr = JSONUtil.toJsonStr(jsons);
if (oldProperties.getEnable()) { if (oldProperties.getEnable()) {
try { try {

Loading…
Cancel
Save