From d9b764868dbfa79aa79d79f676f60a28c4055b06 Mon Sep 17 00:00:00 2001
From: chenhj <1263187585@qq.com>
Date: 星期六, 14 六月 2025 17:00:07 +0800
Subject: [PATCH] 库存明细数据处理

---
 main-business/src/main/java/com/ruoyi/business/service/impl/PendingInventoryServiceImpl.java |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/main-business/src/main/java/com/ruoyi/business/service/impl/PendingInventoryServiceImpl.java b/main-business/src/main/java/com/ruoyi/business/service/impl/PendingInventoryServiceImpl.java
index bcf7e46..53182f3 100644
--- a/main-business/src/main/java/com/ruoyi/business/service/impl/PendingInventoryServiceImpl.java
+++ b/main-business/src/main/java/com/ruoyi/business/service/impl/PendingInventoryServiceImpl.java
@@ -192,7 +192,7 @@
                 officialInventory.setPendingId(pendingInventoryDto.getPId());
                 officialInventory.setInventoryQuantity(quantity);
                 officialInventoryMapper.insert(officialInventory);
-            }else {
+            } else {
                 OfficialInventory officialInventory = officialInventoryMapper.selectById(pendingInventoryDto.getOfficialId());
                 officialInventory.setInventoryQuantity(quantity.add(officialInventory.getInventoryQuantity()));
                 officialInventoryMapper.updateById(officialInventory);
@@ -200,10 +200,4 @@
         }
         return i;
     }
-
-    // 澶勭悊鏄庣粏鍜屽簱瀛樻暟閲�
-    private int handeInventoryQuantity(PendingInventoryDto pendingInventoryDto) {
-        inputInventoryRecordService.insertInputInventoryRecord(pendingInventoryDto, null, pendingInventoryDto.getInventoryQuantity());
-        return inventorySummaryService.updateInventory(pendingInventoryDto, null);
-    };
 }

--
Gitblit v1.9.3