From 9d31c78799e1b6289067dcbefb3bc7ecad4ecd8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=AD=E9=A3=9E?= Date: Tue, 22 Apr 2025 18:53:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E5=A4=87=E8=B4=A7?= =?UTF-8?q?=E5=87=BA=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/cim/idm/service/Impl/InvoiceServiceImpl.java | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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数据