wms成品退货提单修改4

master
mengjiao 7 months ago
parent 6edd217e4e
commit 2d6e2fc206

@ -937,6 +937,9 @@ public class WmsProductPutServiceImpl implements IWmsProductPutService {
String ZSAREA=stringStringMap.get("ZSAREA");//销售大区 String ZSAREA=stringStringMap.get("ZSAREA");//销售大区
String BZTXT1=stringStringMap.get("BZTXT1");//销售大区描述 String BZTXT1=stringStringMap.get("BZTXT1");//销售大区描述
String POSNR=stringStringMap.get("POSNR");//交货项目 String POSNR=stringStringMap.get("POSNR");//交货项目
String AUART=stringStringMap.get("AUART");//
String BEZEI=stringStringMap.get("BEZEI");//
WmsRuturnPutEmbryo wmsRuturnPutEmbryo1=new WmsRuturnPutEmbryo(); WmsRuturnPutEmbryo wmsRuturnPutEmbryo1=new WmsRuturnPutEmbryo();
wmsRuturnPutEmbryo1.setProductOrder(VBELN); wmsRuturnPutEmbryo1.setProductOrder(VBELN);
wmsRuturnPutEmbryo1.setFactoryCode(wmsRuturnPutEmbryo.getFactoryCode()); wmsRuturnPutEmbryo1.setFactoryCode(wmsRuturnPutEmbryo.getFactoryCode());
@ -944,6 +947,8 @@ public class WmsProductPutServiceImpl implements IWmsProductPutService {
wmsRuturnPutEmbryo1.setAttr10(POSNR); wmsRuturnPutEmbryo1.setAttr10(POSNR);
List<WmsRuturnPutEmbryo> wmsRuturnPutEmbryoList= wmsRuturnPutEmbryoMapper.selectWmsRuturnPutEmbryoList(wmsRuturnPutEmbryo1); List<WmsRuturnPutEmbryo> wmsRuturnPutEmbryoList= wmsRuturnPutEmbryoMapper.selectWmsRuturnPutEmbryoList(wmsRuturnPutEmbryo1);
if ( wmsRuturnPutEmbryoList.size()==0){ if ( wmsRuturnPutEmbryoList.size()==0){
wmsRuturnPutEmbryo1.setAttr7(AUART);
wmsRuturnPutEmbryo1.setAttr8(BEZEI);
wmsRuturnPutEmbryo1.setPlanQuantity(new BigDecimal(MENGE)); wmsRuturnPutEmbryo1.setPlanQuantity(new BigDecimal(MENGE));
wmsRuturnPutEmbryo1.setStatus("0"); wmsRuturnPutEmbryo1.setStatus("0");
wmsRuturnPutEmbryo1.setUnitOfMeasure(MEINS); wmsRuturnPutEmbryo1.setUnitOfMeasure(MEINS);

Loading…
Cancel
Save