From 914dda898922d514adf57cf4e29bc8f41e8a2ed0 Mon Sep 17 00:00:00 2001 From: liuxiaoxu <1793812695@qq.com> Date: Thu, 21 Nov 2024 20:28:50 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=E9=87=87=E8=B4=AD=E7=AE=A1=E7=90=86=20?= =?UTF-8?q?=E9=87=87=E8=B4=AD=E8=AE=A2=E5=8D=95=E6=96=B0=E5=A2=9E=E9=87=87?= =?UTF-8?q?=E8=B4=AD=E5=85=A5=E5=BA=93=E5=8E=BB=E6=8E=89=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=AE=9E=E9=99=85=E5=88=B0=E8=B4=A7=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ruoyi/purchase/service/impl/PurchaseOrderServiceImpl.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/purchase/service/impl/PurchaseOrderServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/purchase/service/impl/PurchaseOrderServiceImpl.java index e71b9598..86cdf310 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/purchase/service/impl/PurchaseOrderServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/purchase/service/impl/PurchaseOrderServiceImpl.java @@ -1271,7 +1271,6 @@ public class PurchaseOrderServiceImpl implements IPurchaseOrderService }else { purchaseStorage.setNotifyArrivedSum(allNotifyHasArrivedNum + allNotifyArrivedNum); } - purchaseStorage.setActualArrivedSum(allNotifyArrivedNum); int insertResult = purchaseStorageMapper.insertPurchaseStorage(purchaseStorage); if (insertResult <= 0){ throw new BusinessException("生成采购入库单数据失败"); @@ -1298,7 +1297,6 @@ public class PurchaseOrderServiceImpl implements IPurchaseOrderService }else { warehouseStorageOrder.setNotifyArrivedNum(allNotifyHasArrivedNum + allNotifyArrivedNum); } - warehouseStorageOrder.setActualArrivedNum(allNotifyArrivedNum); warehouseStorageOrder.setArrivedTime(purchaseOrder.getArrivedTime()); warehouseStorageOrder.setRelatedOrderCode(purchaseOrder.getPurchaseOrderCode()); warehouseStorageOrder.setCreateTime(new Date()); @@ -1349,7 +1347,6 @@ public class PurchaseOrderServiceImpl implements IPurchaseOrderService }else { warehouseStorageOrderDetail.setNotifyHasArrivedNum(notifyHasArrivedNum + notifyArriveNum); } - warehouseStorageOrderDetail.setActualArriveNum(notifyArriveNum); warehouseStorageOrderDetailChildren.add(warehouseStorageOrderDetail); } int result = warehouseStorageOrderDetailMapper.insertBatchWarehouseStorageOrderDetail(warehouseStorageOrderDetailChildren); @@ -1398,7 +1395,6 @@ public class PurchaseOrderServiceImpl implements IPurchaseOrderService }else { purchaseStorageChild.setNotifyHasArrivedNum(notifyHasArrivedNum + notifyArriveNum); } - purchaseStorageChild.setActualArriveNum(notifyArriveNum); purchaseStorageChildren.add(purchaseStorageChild); } int result = purchaseStorageChildMapper.insertBatchPurchaseStorageChild(purchaseStorageChildren);