From 82685a4ec94db01c564561582141c03054012ea3 Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期五, 07 二月 2025 10:16:38 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/ERP_override

---
 north-glass-erp/src/main/java/com/example/erp/mapper/pp/FlowCardMapper.java |   80 ++++++++++++++++++++++++++-------------
 1 files changed, 53 insertions(+), 27 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 2d1c62a..2fded8d 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
@@ -45,7 +45,7 @@
 
     Boolean updateFlowState(String productionId, Integer orderNumber);
 
-    Integer selectFlowCount(String productionId);
+    Integer selectFlowCount(String orderId);
 
 
     Boolean updateProcessingCard(String productionId, int state);
@@ -73,11 +73,15 @@
 
     List<Map<String, String>> selectPrintMp(String orderId);
 
-    List<Map<String, String>> getPrimaryList(String processId, String technologyNumber, String glassChild, String process);
+    List<Map<String, String>> getPrimaryList(String processId, String technologyNumber, String glassChild, String process, String orderId);
 
-    List<Map<String, Object>> getDetailList(String processId, Integer technologyNumber, String process);
+    List<Map<String, String>> getPrimaryLists(String processId, String technologyNumber, String glassChild, String process, String orderId,Integer quantity);
 
-    List<Map<String, Object>> getProcessList(String processId, Integer technologyNumber);
+    List<Map<String, Object>> getDetailList(String processId, String technologyNumber, String process);
+
+    List<Map<String, Object>> getDetailLists(String processId, String technologyNumber, String process,Integer orderNumber);
+
+    List<Map<String, Object>> getProcessList(String processId, String technologyNumber);
 
     Boolean updateInventory(String processId, String orderNumber, String technologyNumber, Integer completedQuantity);
 
@@ -87,13 +91,13 @@
 
     List<Map<String, String>> getPrintLabel2(String projectNo);
 
-    List<Map<String, String>> getPrintLabel1(String processId,Integer technologyNumber);
+    List<Map<String, String>> getPrintLabel1(String processId,String technologyNumber);
 
     List<Map<String, String>> getPrintLabelDetail(@Param("flowCard") FlowCard flowCard);
 
     List<Map<String, String>> printFlowCardDetailsMp(String processId, String technologyNumber, String process, FlowCard flowCard);
 
-    Boolean printSortMp(String processId, Integer orderNumber, Integer technologyNumber, Integer sort);
+    Boolean printSortMp(String processId, Integer orderNumber, String technologyNumber, Integer sort);
 
     List<Map<String,String>> selectType();
 
@@ -101,23 +105,23 @@
 
     List<Map<String, Object>> getCustomLabelDetailMp(String name, String form, String id, FlowCard flowCard);
 
-    List<Map<String, Object>>  getPrintCustomData(String processId, Integer technologyNumber);
+    List<Map<String, Object>>  getPrintCustomData(String processId, Integer orderNumber);
 
-    Integer getPrintLabelCount(String processId, Integer technologyNumber);
+    Integer getPrintLabelCount(String processId, String technologyNumber);
 
     List<Map<String, String>> selectReplenishPrintMp(Date selectTime1, Date selectTime2, FlowCard flowCard);
 
-    List<Map<String, Object>> getRepairPrintCustomData(String processId, Integer technologyNumber, String reportingWorkId);
+    List<Map<String, Object>> getRepairPrintCustomData(String processId, String technologyNumber, String reportingWorkId, Integer orderNumber);
 
-    List<Map<String, Object>> getGlassNumber(Integer technologyNumber, String processId);
+    List<Map<String, Object>> getGlassNumber(String technologyNumber, String processId);
 
-    Boolean updatePrintStateMp(Integer printState, String processId, Integer technologyNumber);
+    Boolean updatePrintStateMp(Integer printState, String processId, String technologyNumber);
 
     List<Map<String, String>> printFlowCardOrderSortMp(String orderId, FlowCard flowCard);
 
-    Boolean printOrderSortMp(String processId, Integer orderNumber, Integer technologyNumber, Integer sort);
+    Boolean printOrderSortMp(String processId, Integer orderNumber, String technologyNumber, Integer sort);
 
-    List<Map<String, String>> getPrimaryListMerge(String processId, String technologyNumber);
+    List<Map<String, String>> getPrimaryListMerge(String processId, String technologyNumber, String orderId);
 
     List<Map<String, String>> selectorderOtherMoney();
 
@@ -125,45 +129,47 @@
 
     List<Map<String, Object>> getDetailListLike(String processId, String technologyNumber, String process);
 
-    List<Map<String, String>> getPrimaryListMergeRefund(String processId, String technologyNumber, Integer orderNumber);
+    List<Map<String, Object>> getDetailListLikes(String processId, String technologyNumber, String process,String printProject,Integer quantity);
 
-    List<Map<String, Object>> getDetailListRefund(String processId, Integer technologyNumber, Integer orderNumber, String reportingWorkId, String patchReason);
+    List<Map<String, String>> getPrimaryListMergeRefund(String processId, String technologyNumber, Integer orderNumber, String orderId);
 
-    List<Map<String, String>> getPrimaryListRefund(String processId, String technologyNumber, Integer orderNumber, String reportingWorkId, String mergeTechnologyNumber, String patchReason);
+    List<Map<String, Object>> getDetailListRefund(String processId, String technologyNumber, Integer orderNumber, String reportingWorkId, String patchReason);
+
+    List<Map<String, String>> getPrimaryListRefund(String processId, String technologyNumber, Integer orderNumber, String reportingWorkId, String mergeTechnologyNumber, String patchReason, String orderId);
 
     List<Map<String, Object>> getDetailListLikeRefund(String processId, String technologyNumber, Integer orderNumber, String reportingWorkId);
 
-    List<Map<String, Object>> getPrimaryListRework(String processId, String technologyNumber, Integer orderNumber, String reportingWorkId);
+    List<Map<String, Object>> getPrimaryListRework(String processId, String technologyNumber, Integer orderNumber, String reportingWorkId, String orderId);
 
-    List<Map<String, Object>> getDetailListRework(String processId, Integer technologyNumber, Integer orderNumber, String reportingWorkId);
+    List<Map<String, Object>> getDetailListRework(String processId, String technologyNumber, Integer orderNumber, String reportingWorkId);
 
-    List<Map<String, Object>> getPrimaryListMergeRework(String processId, String printMerge, Integer orderNumber);
+    List<Map<String, Object>> getPrimaryListMergeRework(String processId, String printMerge, Integer orderNumber, String orderId);
 
     List<Map<String, Object>> getDetailListLikeRework(String processId, String printMerge, Integer orderNumber, String reportingWorkId);
 
-    List<Map<String, Object>> getPrintCustomDataSemi(String processId, Integer technologyNumber, String process);
+    List<Map<String, Object>> getPrintCustomDataSemi(String processId, String technologyNumber, String process);
 
     List<Map<String, String>> selectPrintNotMp(String orderId);
 
     List<Map<String, String>> selectPrintNotMergeMp(String orderId);
 
-    List<Map<String, String>> getRepairPrintCustomDataSemi(String processId, Integer technologyNumber, String reportingWorkId);
+    List<Map<String, String>> getRepairPrintCustomDataSemi(String processId, String technologyNumber, String reportingWorkId, Integer orderNumber);
 
     List<Map<String, String>> selectPrintAllMp(String orderId);
 
-    Boolean printAddSortMp(String processId, Integer orderNumber, Integer technologyNumber, Integer sort, String process);
+    Boolean printAddSortMp(String processId, Integer orderNumber, String technologyNumber, Integer sort, String process);
 
-    Integer printAddSortCountMp(String processId, Integer orderNumber, Integer technologyNumber, Integer sort, String process);
+    Integer printAddSortCountMp(String processId, Integer orderNumber, String technologyNumber, Integer sort, String process);
 
-    Boolean printUpdateSortMp(String processId, Integer orderNumber, Integer technologyNumber, Integer sort, String process);
+    Boolean printUpdateSortMp(String processId, Integer orderNumber, String technologyNumber, Integer sort, String process);
 
-    List<Map<String, String>> getPrimaryListLimt(String processId, String technologyNumber, String glassChild, String process);
+    List<Map<String, String>> getPrimaryListLimt(String processId, String technologyNumber, String glassChild, String process, String orderId);
 
     List<Map<String, String>> selectPrintDetailsMp(String orderId);
 
     List<Map<String, String>> selectPrintDetailsMp1(String orderId);
 
-    List<Map<String, Object>> getPrintCustomDataDetails(String processId, Integer orderNumber);
+    List<Map<String, Object>> getPrintCustomDataDetails(String processId, Integer orderNumber, Integer printQuantity);
 
     List<Map<String, Object>> getPrintCustomDataProjectNo(String projectNo);
 
@@ -179,11 +185,31 @@
 
     List<Map<String, Object>> selectFlowCardMerge(String processId);
 
-    Boolean updateFlowCardMerge(String processId);
+    Boolean updateFlowCardMerge(String processId,List<Integer> technologyNumbers,Integer index);
 
     Boolean deleteflowCardSort(String orderId, String processId);
 
     List<Map<String, Object>> getPrintProjectDetailsMp(String projectNo);
 
     List<Map<String, Object>> getPrintCustomDataProjectDetail(String projectNo, String stockId);
+
+    List<Map<String, Object>> getPrintCustomDataProject(String projectNo);
+
+    List<Map<String, String>> getPrintLabel3(String projectNo);
+
+    Boolean updateProcessMp(String processId, String technologyNumber, String process, String number);
+
+    Boolean deleteProcessMp(String processId, String technologyNumber);
+
+    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);
 }

--
Gitblit v1.8.0