From d5055b7870d0406f9b00d429cb47d2bfb79b902c Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期三, 10 十二月 2025 11:37:09 +0800
Subject: [PATCH] 补片流程卡添加打印次数

---
 north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml |    5 +++--
 1 files changed, 3 insertions(+), 2 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 cdef190..de8a8cd 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
@@ -1284,7 +1284,7 @@
     </select>
 
     <select id="selectReplenishPrintMp">
-        select fc.id,
+        select pl.id,
                fc.order_id,
                fc.process_id,
                o.customer_name,
@@ -1309,7 +1309,8 @@
                pl.reporting_work_id,
                JSON_UNQUOTE(JSON_EXTRACT(od.other_columns, '$.S01'))                AS glassNumber,
                pl.patch_id,
-               date(pl.create_time) as create_time
+               date(pl.create_time) as create_time,
+               pl.print_num
 
         from flow_card as fc
                  left join sd.order_glass_detail as ogd

--
Gitblit v1.8.0