From 4408f77aac1a6f382758c142e9cf59e9685a1daa Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期五, 19 十二月 2025 08:40:44 +0800
Subject: [PATCH] 修改在制品报表终止数量不显示问题,添加报工后续工序减去对应终止数量

---
 north-glass-erp/src/main/java/com/example/erp/service/pp/ReplenishService.java |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/north-glass-erp/src/main/java/com/example/erp/service/pp/ReplenishService.java b/north-glass-erp/src/main/java/com/example/erp/service/pp/ReplenishService.java
index 9025211..602db86 100644
--- a/north-glass-erp/src/main/java/com/example/erp/service/pp/ReplenishService.java
+++ b/north-glass-erp/src/main/java/com/example/erp/service/pp/ReplenishService.java
@@ -432,5 +432,18 @@
     public List<exportReplenishDTO> exportReplenishSv(List<LocalDate> dates) {
         return patchMapper.exportReplenishMp(dates);
     }
+
+    public Boolean updatePrintNumSv(List<Map<String, Object>> list) {
+        if (!list.isEmpty()){
+            for (Map<String, Object> item : list) {
+                Integer id = (Integer) item.get("id");
+                patchMapper.updatePrintNumMp(id);
+            }
+            return true;
+        }else {
+            return false;
+        }
+
+    }
 }
 

--
Gitblit v1.8.0