From 733b9e6837365d2817d7e8a0005b2c167c18f77e Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期四, 19 六月 2025 17:58:48 +0800
Subject: [PATCH] 1.生产加工  2.煤种id优化

---
 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