From b285617c2f44593006fee37f88a4dcdea10a0ede Mon Sep 17 00:00:00 2001
From: zhanghl <253316343@qq.com>
Date: 星期三, 14 五月 2025 13:57:16 +0800
Subject: [PATCH] 钣金工单计划管理:新增 查看上下阶需求接口

---
 aps-modules/aps-core/src/main/java/com/aps/core/service/impl/ApsPlateStandardRequireServiceImpl.java |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/aps-modules/aps-core/src/main/java/com/aps/core/service/impl/ApsPlateStandardRequireServiceImpl.java b/aps-modules/aps-core/src/main/java/com/aps/core/service/impl/ApsPlateStandardRequireServiceImpl.java
index 437569f..2ab9146 100644
--- a/aps-modules/aps-core/src/main/java/com/aps/core/service/impl/ApsPlateStandardRequireServiceImpl.java
+++ b/aps-modules/aps-core/src/main/java/com/aps/core/service/impl/ApsPlateStandardRequireServiceImpl.java
@@ -175,7 +175,7 @@
         String batchNum= requireBatchService.getNewBatchNumber();
         /*鑾峰彇閽i噾涓诲崟淇℃伅*/
         List<ApsPlatePlan> mainPlans = platePlanMapper.selectPlatePlanByPlantMajor(plantCode,mainOrderType);
-        Hashtable<String, ApsMaterialStorageManagement> usedStorage = new Hashtable<>();
+        Hashtable<String, BigDecimal> usedStorage = new Hashtable<>();
         log.info("寮�濮嬬敓鎴愰渶姹傦細");
         for (ApsPlatePlan mainPlan : mainPlans) {
             String itemNumber = mainPlan.getItemNumber();
@@ -228,6 +228,10 @@
             }*/
 
         }
+        usedStorage.forEach((key,value)->{
+            log.info("鏂欏彿锛�"+key+"锛屽簱瀛橈細"+value);
+        });
+
     }
 
     /**
@@ -251,7 +255,7 @@
                                 List<ApsPlateStandardRequire> allRequires,
                                 Long level,List<ApsPlateStandardRequireBomStockDetail> stockDetailsList,
                                 List<ApsPlateStandardRequireBomOrderDetail> orderDetailsList,
-                                 Hashtable<String, ApsMaterialStorageManagement> usedStorage
+                                 Hashtable<String, BigDecimal> usedStorage
     ) {
         /*鏋勫缓闇�姹備俊鎭�*/
         ApsPlateStandardRequire require = new ApsPlateStandardRequire();
@@ -316,7 +320,7 @@
                         , afterStockAmount, require.getId(), stockDetailsList
                 );
                 /*鏇存柊鍐呭瓨涓殑搴撳瓨浣跨敤淇℃伅*/
-               // usedStorage.put(itemCode, storage);
+               usedStorage.put(itemCode, afterStockAmount);
             }
         }
         /*鏈尮閰嶆暟閲忥紝榛樿涓哄噣闇�姹�*/

--
Gitblit v1.9.3