Pārlūkot izejas kodu

销售订单 成衣工厂辅料数据为空

liuchaohui 2 gadi atpakaļ
vecāks
revīzija
bba2d8dbf3

+ 2 - 2
jeecg-boot-module-system/src/main/java/org/jeecg/modules/documents/orderData/service/impl/SyOrderDataServiceImpl.java

@@ -244,9 +244,9 @@ public class SyOrderDataServiceImpl extends ServiceImpl<SyOrderDataMapper, SyOrd
                         sy2.setSupplier(ordervo.getSupplier());
                         if(sy2.getInventoryCcode().substring(0,2).equals("19")){
                             sy2.setGarmentFactory(ordervo.getSupplier());
-                        }else if(sy.getCustomerAbbreviation().equals("International Apparel Group") || sy.getCustomerAbbreviation().equals("宁波森语") ) {
+                        }/*else if(sy.getCustomerAbbreviation().equals("International Apparel Group") || sy.getCustomerAbbreviation().equals("宁波森语") ) {
                             sy2.setGarmentFactory(queryGSupplier(sy.getOrderNumber(),sy.getAccount(),sy.getCustomerCode()));
-                        }else {
+                        }*/else {
                             sy2.setGarmentFactory(sy.getGarmentFactory());
                         }
                         sy2.setSupplierCode(ordervo.getSupplierCode());

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

@@ -239,9 +239,9 @@ public class AddOrderJob implements Job,ApplicationContextAware {
                         sy2.setSupplier(ordervo.getSupplier());
                         if(sy2.getInventoryCcode().substring(0,2).equals("19")){
                             sy2.setGarmentFactory(ordervo.getSupplier());
-                        }else if(sy.getCustomerAbbreviation().equals("International Apparel Group") || sy.getCustomerAbbreviation().equals("宁波森语") ) {
+                        }/*else if(sy.getCustomerAbbreviation().equals("International Apparel Group") || sy.getCustomerAbbreviation().equals("宁波森语") ) {
                             sy2.setGarmentFactory(queryGSupplier(sy.getOrderNumber(),sy.getAccount(),sy.getCustomerCode()));
-                        }else {
+                        }*/else {
                             sy2.setGarmentFactory(sy.getGarmentFactory());
                         }
                         sy2.setSupplierCode(ordervo.getSupplierCode());