From eba3314826d53ff0f7e5679d185baaff84e50354 Mon Sep 17 00:00:00 2001
From: guoyujie <guoyujie@ng.com>
Date: 星期四, 04 十二月 2025 10:07:56 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/ERP_override

---
 north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml b/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
index 07ed781..6f700d2 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
@@ -3911,4 +3911,16 @@
     <update id="updateTerminationNoMp">
         update pp.flow_card set termination_status=0 , termination_quantity=0 where process_id = #{processId} and order_number = #{orderNumber}
     </update>
+
+    <select id="getNewProcessMp">
+        select opd.process,bd.sort  from sd.order_process_detail as opd
+            left join sd.basic_data as bd on bd.basic_name = opd.process and bd.basic_category='process'
+        where opd.process_id=#{processId} and opd.order_number=#{orderNumber}
+          and opd.technology_number = #{technologyNumber} and reporting_work_num_count>0 ORDER BY opd.id DESC LIMIT 1
+    </select>
+
+    <select id="getProcessInfo">
+        select basic_name as process,sort FROM sd.basic_data as bd
+        where bd.basic_category='process' and bd.basic_name = #{processName}
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0