Prechádzať zdrojové kódy

销售订单同步 门幅逻辑

liuchaohui 2 rokov pred
rodič
commit
8586b08532

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