소스 검색

销售订单同步 门幅逻辑

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