|
|
|
@ -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<WmsRuturnPutEmbryo> 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);
|
|
|
|
|