|
|
@ -1298,25 +1298,28 @@ public class WmsProductPutServiceImpl implements IWmsProductPutService {
|
|
|
|
String result="操作成功";
|
|
|
|
String result="操作成功";
|
|
|
|
|
|
|
|
|
|
|
|
for (WmsProductPut wmsProductPut: wmsProductPutList){
|
|
|
|
for (WmsProductPut wmsProductPut: wmsProductPutList){
|
|
|
|
WmsProductPut wmsProductPut1= wmsProductPutMapper.selectWmsProductPutByIdANDStatus(wmsProductPut.getId());
|
|
|
|
// WmsProductPut wmsProductPut1= wmsProductPutMapper.selectWmsProductPutByIdANDStatus(wmsProductPut.getId());
|
|
|
|
// //LFBJA 参考凭证会计年度
|
|
|
|
// //LFBJA
|
|
|
|
// //LFBNR 参考凭证的凭证号
|
|
|
|
// //LFBNR
|
|
|
|
// //LFPOS 参考凭证项目
|
|
|
|
// //LFPOS
|
|
|
|
// //EBELN 采购凭证号
|
|
|
|
// //EBELN
|
|
|
|
// //EBELP 采购凭证的项目编号
|
|
|
|
// //EBELP
|
|
|
|
// //MATNR 物料号
|
|
|
|
// //MATNR
|
|
|
|
// //QUANTITY 数量
|
|
|
|
// //QUANTITY
|
|
|
|
// //WERKS 工厂
|
|
|
|
// //WERKS
|
|
|
|
// //LGORT 库存地点
|
|
|
|
// //LGORT
|
|
|
|
// //这个地方
|
|
|
|
// //这个地方
|
|
|
|
// Map paramMap=new HashMap<>();
|
|
|
|
// Map paramMap=new HashMap<>();
|
|
|
|
// List<Map> mapList = new ArrayList<>();
|
|
|
|
// List<Map> mapList = new ArrayList<>();
|
|
|
|
// paramMap.put("S_MBLNR",wmsRawOrderIn.getUserDefined1());
|
|
|
|
// paramMap.put("LFBJA",wmsProductPut1.getAttr10());//参考凭证会计年度
|
|
|
|
// paramMap.put("S_MJAHR",wmsRawOrderIn.getUserDefined2());
|
|
|
|
// paramMap.put("LFBNR",wmsProductPut1.getSapProof());//参考凭证的凭证号
|
|
|
|
// paramMap.put("S_MATNR",wmsRawOrderIn.getMaterialCode());
|
|
|
|
// //paramMap.put("LFPOS",wmsProductPut1.get());//参考凭证项目
|
|
|
|
// paramMap.put("incomeBatchNo",wmsRawOrderIn.getIncomeBatchNo()); //批次
|
|
|
|
// paramMap.put("EBELN",wmsProductPut1.getProductCode());//采购凭证号
|
|
|
|
// paramMap.put("ebelp",wmsRawOrderIn.getPoLine());
|
|
|
|
// paramMap.put("EBELP",wmsProductPut1.getPoLine());//采购凭证的项目编号
|
|
|
|
// paramMap.put("poNo",wmsRawOrderIn.getPoNo());
|
|
|
|
// paramMap.put("MATNR",wmsProductPut1.getPoNo());//物料号
|
|
|
|
|
|
|
|
// paramMap.put("QUANTITY",wmsProductPut1.getPoNo());//数量
|
|
|
|
|
|
|
|
// paramMap.put("WERKS",wmsProductPut1.getPoNo());//工厂
|
|
|
|
|
|
|
|
// paramMap.put("LGORT",wmsProductPut1.getPoNo());//库存地点
|
|
|
|
// mapList.add(paramMap);
|
|
|
|
// mapList.add(paramMap);
|
|
|
|
// R result2 = remoteSapService.handleUpdateSAP102(mapList);
|
|
|
|
// R result2 = remoteSapService.handleUpdateSAP102(mapList);
|
|
|
|
// if (result2.getCode()==200){
|
|
|
|
// if (result2.getCode()==200){
|
|
|
|