diff --git a/src/main/java/com/gaotao/modules/outsourcing/service/impl/OutsourcingNotifyServiceImpl.java b/src/main/java/com/gaotao/modules/outsourcing/service/impl/OutsourcingNotifyServiceImpl.java index 5b1dfc8..61bc68e 100644 --- a/src/main/java/com/gaotao/modules/outsourcing/service/impl/OutsourcingNotifyServiceImpl.java +++ b/src/main/java/com/gaotao/modules/outsourcing/service/impl/OutsourcingNotifyServiceImpl.java @@ -285,19 +285,7 @@ public class OutsourcingNotifyServiceImpl implements OutsourcingNotifyService { IfsInventoryPart inventoryPart = new IfsInventoryPart(); inventoryPart.setSite(parentItem.getSite()); inventoryPart.setPartNo(parentItem.getFgPartNo()); - List rows = null; - try { - rows = ifsApiService.getIfsInventoryPart(inventoryPart); - } catch (Exception e) { - throw new RuntimeException(e); - } - String productionArea; - if(parentItem.getFgPartNo().startsWith("3")||parentItem.getFgPartNo().startsWith("7")) { - productionArea = "Z112"; - }else { - productionArea = outsourcingNotifyMapper.getProductAreaByPlanner(parentItem.getSite(), rows.get(0).getPlannerBuyer()); - } - parentItem.setProductionArea(productionArea!=null?productionArea:"Z301"); + parentItem.setProductionArea("Z107"); parentItem.setPushWmsFlag("N"); parentItem.setTransportFlag("N"); parentItem.setOutWorkOrderFlag("N"); @@ -355,7 +343,7 @@ public class OutsourcingNotifyServiceImpl implements OutsourcingNotifyService { if(StringUtils.isNotBlank(parentType)){ child.setOrderType(parentType); }else{ - child.setOrderType("shoporder"); + child.setOrderType("poorder"); } return child; })