diff --git a/op-modules/op-wms/src/main/java/com/op/wms/service/impl/WmsProductPutServiceImpl.java b/op-modules/op-wms/src/main/java/com/op/wms/service/impl/WmsProductPutServiceImpl.java index 81fe2b75..afa775d5 100644 --- a/op-modules/op-wms/src/main/java/com/op/wms/service/impl/WmsProductPutServiceImpl.java +++ b/op-modules/op-wms/src/main/java/com/op/wms/service/impl/WmsProductPutServiceImpl.java @@ -937,6 +937,9 @@ public class WmsProductPutServiceImpl implements IWmsProductPutService { String ZSAREA=stringStringMap.get("ZSAREA");//销售大区 String BZTXT1=stringStringMap.get("BZTXT1");//销售大区描述 String POSNR=stringStringMap.get("POSNR");//交货项目 + String AUART=stringStringMap.get("AUART");// + String BEZEI=stringStringMap.get("BEZEI");// + WmsRuturnPutEmbryo wmsRuturnPutEmbryo1=new WmsRuturnPutEmbryo(); wmsRuturnPutEmbryo1.setProductOrder(VBELN); wmsRuturnPutEmbryo1.setFactoryCode(wmsRuturnPutEmbryo.getFactoryCode()); @@ -944,6 +947,8 @@ public class WmsProductPutServiceImpl implements IWmsProductPutService { wmsRuturnPutEmbryo1.setAttr10(POSNR); List wmsRuturnPutEmbryoList= wmsRuturnPutEmbryoMapper.selectWmsRuturnPutEmbryoList(wmsRuturnPutEmbryo1); if ( wmsRuturnPutEmbryoList.size()==0){ + wmsRuturnPutEmbryo1.setAttr7(AUART); + wmsRuturnPutEmbryo1.setAttr8(BEZEI); wmsRuturnPutEmbryo1.setPlanQuantity(new BigDecimal(MENGE)); wmsRuturnPutEmbryo1.setStatus("0"); wmsRuturnPutEmbryo1.setUnitOfMeasure(MEINS);