Преглед на файлове

销售订单同步 门幅逻辑

liuchaohui преди 2 години
родител
ревизия
8586b08532
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 3 1
      jeecg-boot-module-system/src/main/java/org/jeecg/modules/quartz/job/AddOrderJob.java

+ 3 - 1
jeecg-boot-module-system/src/main/java/org/jeecg/modules/quartz/job/AddOrderJob.java

@@ -194,7 +194,9 @@ public class AddOrderJob implements Job,ApplicationContextAware {
                         sy2.setOmpoId(ordervo.getOmpoId());
                         sy2.setOmpoIdItem(ordervo.getOmpoIdItem());
                         sy2.setITaxPrice(ordervo.getITaxPrice());
-                        sy2.setGuangpeiGateWidth(ordervo.getGuangpeiGateWidth());
+                        if(sy2.getGuangpeiGateWidth()==null||sy2.getGuangpeiGateWidth().equals("/")||sy2.getGuangpeiGateWidth().equals("")){
+                            sy2.setGuangpeiGateWidth(ordervo.getGuangpeiGateWidth());
+                        }
                         sy2.setSupplier(ordervo.getSupplier());
                         if(sy2.getInventoryCcode().substring(0,2).equals("09")){
                             sy2.setGarmentFactory(ordervo.getSupplier());