From a8e721bac9d129102bf86ec180b4b2b6a4def453 Mon Sep 17 00:00:00 2001 From: wanghao Date: Fri, 5 Sep 2025 17:45:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20=E8=B0=83=E6=8B=A8?= =?UTF-8?q?=E5=87=BA=E5=BA=93=E4=BB=BB=E5=8A=A1=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/dromara/wms/service/impl/WmsPdaApiServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ruoyi-modules/hwmom-wms/src/main/java/org/dromara/wms/service/impl/WmsPdaApiServiceImpl.java b/ruoyi-modules/hwmom-wms/src/main/java/org/dromara/wms/service/impl/WmsPdaApiServiceImpl.java index b321d063..cfc2f7f7 100644 --- a/ruoyi-modules/hwmom-wms/src/main/java/org/dromara/wms/service/impl/WmsPdaApiServiceImpl.java +++ b/ruoyi-modules/hwmom-wms/src/main/java/org/dromara/wms/service/impl/WmsPdaApiServiceImpl.java @@ -294,6 +294,9 @@ public class WmsPdaApiServiceImpl implements IWmsPdaApiService { WmsAllocateTask.setMaterialQty(outstockQty); wmsAllocateTaskMapper.insert(WmsAllocateTask); + }else{ + WmsAllocateTask.setMaterialQty(WmsAllocateTask.getMaterialQty().add(outstockQty)); + wmsAllocateTaskMapper.updateById(WmsAllocateTask); } } else if (type.equals("5")) {