From 581d04b245441645f34e9f967f053fb95763245e Mon Sep 17 00:00:00 2001 From: shenzhouyu Date: Tue, 9 Dec 2025 13:52:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A7=94=E5=A4=96=E6=B7=BB=E5=8A=A0=E5=BA=93?= =?UTF-8?q?=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/OutsourcingNotifyServiceImpl.java | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) 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; })