From 1edc3d1f85e2bcde84190db79804c98eb9303ffb Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期四, 05 十二月 2024 13:27:19 +0800
Subject: [PATCH] 提交打印相关页面程序

---
 north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml |    8 +++++++-
 1 files changed, 7 insertions(+), 1 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 4dc438c..f825df7 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
@@ -308,7 +308,7 @@
     <select id="reportingWorkCount">
         select COUNT(rw.process_id)
         from reporting_work as rw
-        where rw.process_id = #{processId}
+        where rw.process_id = #{processId} and reviewed_state>=0
     </select>
     <!--    鎻掑叆Flow_card琛�-->
     <insert id="addFlowCardMp">
@@ -1588,6 +1588,7 @@
                round(ogd.child_width)                                as width,
                round(ogd.child_height)                               as height,
                fc.quantity,
+               CONCAT(round(ogd.child_width)  , ' X ', round(ogd.child_height)   ,' = ',fc.quantity )           as size,
                od.order_number                                       as orderNumber,
                fc.technology_number                                  as technologyNumber,
                od.building_number                                    as buildingNumber,
@@ -2100,6 +2101,11 @@
                width,
                height,
                #{printQuantity}                                      as quantity,
+               CONCAT(
+                   TRIM(TRAILING '.' FROM TRIM(TRAILING '0' FROM CAST(width AS CHAR))),
+                   ' X ',
+                   TRIM(TRAILING '.' FROM TRIM(TRAILING '0' FROM CAST(height AS CHAR))),
+                   ' = ',#{printQuantity} )      as size,
                od.order_number                                       as orderNumber,
                fc.technology_number                                  as technologyNumber,
                od.building_number                                    as buildingNumber,

--
Gitblit v1.8.0