diff --git a/zi-wms-pda/src/main/java/com/cim/idm/service/Impl/InvoiceServiceImpl.java b/zi-wms-pda/src/main/java/com/cim/idm/service/Impl/InvoiceServiceImpl.java index 272b6bb..ff250e0 100644 --- a/zi-wms-pda/src/main/java/com/cim/idm/service/Impl/InvoiceServiceImpl.java +++ b/zi-wms-pda/src/main/java/com/cim/idm/service/Impl/InvoiceServiceImpl.java @@ -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 mpKeyList = new ArrayList (); 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数据