常熟吴彦祖 3 months ago
parent
commit
8f62744607
  1. 2
      src/main/java/com/gaotao/modules/automatedWarehouse/service/impl/WcsIntegrationServiceImpl.java
  2. 8
      src/main/java/com/gaotao/modules/notify/service/impl/IssureNotifyServiceImpl.java

2
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)){

8
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");

Loading…
Cancel
Save