From 0f6fc11ebc2ab16e90c3f392983f221a3e26b0f7 Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期一, 17 二月 2025 10:05:28 +0800
Subject: [PATCH] 修改切换客户执行方法

---
 north-glass-erp/src/main/java/com/example/erp/mapper/pp/FlowCardMapper.java |   22 +++++++++++++++++++---
 1 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/north-glass-erp/src/main/java/com/example/erp/mapper/pp/FlowCardMapper.java b/north-glass-erp/src/main/java/com/example/erp/mapper/pp/FlowCardMapper.java
index 0330191..4dd26ef 100644
--- a/north-glass-erp/src/main/java/com/example/erp/mapper/pp/FlowCardMapper.java
+++ b/north-glass-erp/src/main/java/com/example/erp/mapper/pp/FlowCardMapper.java
@@ -40,6 +40,8 @@
     //鏌ヨ鎶ュ伐琛ㄥ唴鏄惁瀛樺湪瀵瑰簲娴佺▼鍗$殑鏁版嵁
     Integer reportingWorkCount(String processId);
 
+    Integer reportingWorkCountByOrderId(String orderId);
+
     //鎻掑叆Flow_card琛�
     Boolean addFlowCardMp(String processId, Integer orderNumber, Integer landingSequence, Integer quantity, String productionId, String userName, Integer layer);
 
@@ -66,6 +68,7 @@
     List<Map<String, String>> flowCardDetailMp(String processId, FlowCard flowCard);
 
     Boolean deleteReportingWork(String processId);
+    Boolean deleteReportingWorkByOrderId(String orderId);
 
     List<Map<String, String>> selectPrintFlowCardMp(Date selectTime1, Date selectTime2, String orderId, String project, FlowCard flowCard);
 
@@ -105,13 +108,15 @@
 
     List<Map<String, Object>> getCustomLabelDetailMp(String name, String form, String id, FlowCard flowCard);
 
-    List<Map<String, Object>>  getPrintCustomData(String processId, String technologyNumber);
+    List<Map<String, Object>>  getPrintCustomData(String processId, Integer orderNumber);
+
+    List<Map<String, Object>>  getPrintCustomData2(String processId);
 
     Integer getPrintLabelCount(String processId, String technologyNumber);
 
     List<Map<String, String>> selectReplenishPrintMp(Date selectTime1, Date selectTime2, FlowCard flowCard);
 
-    List<Map<String, Object>> getRepairPrintCustomData(String processId, String technologyNumber, String reportingWorkId);
+    List<Map<String, Object>> getRepairPrintCustomData(String processId, String technologyNumber, String reportingWorkId, Integer orderNumber);
 
     List<Map<String, Object>> getGlassNumber(String technologyNumber, String processId);
 
@@ -153,7 +158,7 @@
 
     List<Map<String, String>> selectPrintNotMergeMp(String orderId);
 
-    List<Map<String, String>> getRepairPrintCustomDataSemi(String processId, String technologyNumber, String reportingWorkId);
+    List<Map<String, String>> getRepairPrintCustomDataSemi(String processId, String technologyNumber, String reportingWorkId, Integer orderNumber);
 
     List<Map<String, String>> selectPrintAllMp(String orderId);
 
@@ -188,6 +193,7 @@
     Boolean updateFlowCardMerge(String processId,List<Integer> technologyNumbers,Integer index);
 
     Boolean deleteflowCardSort(String orderId, String processId);
+    Boolean deleteflowCardSortByOrderId(String orderId);
 
     List<Map<String, Object>> getPrintProjectDetailsMp(String projectNo);
 
@@ -204,4 +210,14 @@
     Boolean updateOrderProcessMp(String orderId, String number, String technologyNumber, String orderprocess);
 
     List<FlowCard> getFlowCardListPrintProject(String printProject);
+
+    Integer updateProjectLabelPrintCount(String projectNo);
+
+    Integer selectProjectLabelPrintCount(String projectNo);
+
+    Integer updateProjectProcessPrintCount(String projectNo);
+
+    Integer selectProjectProcessPrintCount(String projectNo);
+
+    int flowCardToOptimizeCount(String orderId);
 }

--
Gitblit v1.8.0