diff --git a/src/main/java/com/gaotao/modules/automatedWarehouse/service/impl/WcsIntegrationServiceImpl.java b/src/main/java/com/gaotao/modules/automatedWarehouse/service/impl/WcsIntegrationServiceImpl.java index 3f0ac43..2bde4bb 100644 --- a/src/main/java/com/gaotao/modules/automatedWarehouse/service/impl/WcsIntegrationServiceImpl.java +++ b/src/main/java/com/gaotao/modules/automatedWarehouse/service/impl/WcsIntegrationServiceImpl.java @@ -430,6 +430,8 @@ public class WcsIntegrationServiceImpl implements WcsIntegrationService { wcsIntegrationMapper.updatePalletLocationCode(site, palletId, "TEMP"); }else if("W01".equals(labelWarehouseId)){ wcsIntegrationMapper.updatePalletLocationCode(site, palletId, "W01"); + }else if("L01".equals(labelWarehouseId)){ + wcsIntegrationMapper.updatePalletLocationCode(site, palletId, "L01"); }else if("Q01".equals(labelWarehouseId)){ wcsIntegrationMapper.updatePalletLocationCode(site, palletId, "Q01"); }else if("W02".equals(labelWarehouseId)){ diff --git a/src/main/java/com/gaotao/modules/notify/service/impl/IssureNotifyServiceImpl.java b/src/main/java/com/gaotao/modules/notify/service/impl/IssureNotifyServiceImpl.java index 31698af..a8f26cd 100644 --- a/src/main/java/com/gaotao/modules/notify/service/impl/IssureNotifyServiceImpl.java +++ b/src/main/java/com/gaotao/modules/notify/service/impl/IssureNotifyServiceImpl.java @@ -246,7 +246,13 @@ public class IssureNotifyServiceImpl implements IssureNotifyService { } catch (Exception e) { throw new RuntimeException(e); } - String productionArea = issureNotifyMapper.getProductAreaByPlanner(data.getSite(),rows.get(0).getPlannerBuyer()); + String productionArea; + if(data.getFgPartNo().startsWith("3")||data.getFgPartNo().startsWith("7")) { + productionArea = "Z112"; + }else { + productionArea = issureNotifyMapper.getProductAreaByPlanner(data.getSite(), rows.get(0).getPlannerBuyer()); + + } data.setProductionArea(productionArea!=null?productionArea:"Z301"); data.setPushWmsFlag("N"); data.setTransportFlag("N");