fix:修改备货出库

This commit is contained in:
郭飞 2025-04-22 18:53:40 +08:00
parent c1e5fa1c33
commit 9d31c78799

View File

@ -394,7 +394,11 @@ public class InvoiceServiceImpl implements InvoiceService {
// String newPalletNo = CodeGenerator.packingGenerateCode(materialPackingName,stringBigQty2);
//
// // 原条码扣减
//
// SetEventInfo setEventInfo = new SetEventInfo();
// eventInfo = new EventInfoUtil().makeEventInfo("修改数量拆分条码", eventUser, "修改数量拆分条码");
// setEventInfo.setUserColumns(hashMap3);
// MaterialPackingServiceProxy.getMaterialPackingService().setEvent(new MaterialPackingKey( queryForList.get(0).get("SITENAME").toString(),
// queryForList.get(0).get("MATERIALPACKINGNAME").toString()), eventInfo, setEventInfo);
//
// // 写入拆分的新条码更新原数据库
// }
@ -472,8 +476,8 @@ public class InvoiceServiceImpl implements InvoiceService {
MaterialPackingKey materialPackingKey = new MaterialPackingKey("SDK",materialPackingName);
arrayList.add(materialPackingKey);
}
// billCode = UnSourcedChangeLocation(arrayList,ERPRECEIVEFACTORY,
// ERPRECEIVELOCATION, "", eventUser );
billCode = UnSourcedChangeLocation(arrayList,ERPRECEIVEFACTORY,
ERPRECEIVELOCATION, "", eventUser );
List<MaterialPackingKey> mpKeyList = new ArrayList<MaterialPackingKey> ();
SetEventInfo setEventInfo = new SetEventInfo();
@ -487,7 +491,7 @@ public class InvoiceServiceImpl implements InvoiceService {
hashMapPack.put("erpFactory", ERPRECEIVEFACTORY == null ? "" : ERPRECEIVEFACTORY);
hashMapPack.put("locationName", "");
hashMapPack.put("lastEventUser", eventUser);
// hashMapPack.put("unDoID", billCode);
hashMapPack.put("unDoID", billCode);
setEventInfo.setUserColumns(hashMapPack);
MaterialPackingServiceProxy.getMaterialPackingService().setEvent(mpKeyList, makeEventInfo, setEventInfo);
//抛送MES数据