From c9834a08fe9cb6ed9daabfce3fd73936d997aee1 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期四, 25 十二月 2025 16:56:58 +0800
Subject: [PATCH] 补片流程打印自动缩放问题修改,调整图纸打印的间距
---
north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml | 15 +++++++++------
1 files changed, 9 insertions(+), 6 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 952fb3c..73e0f1d 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
@@ -1156,19 +1156,19 @@
od.processing_note as processingNote,
width,
height,
- #{printQuantity} as quantity,
+ if(#{printQuantity}>0 ,#{printQuantity},fc.quantity) 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,
+ ' = ',if(#{printQuantity}>0 ,#{printQuantity},fc.quantity) ) as size,
CONCAT(
od.order_number,') ',
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 numberSize,
+ ' = ',if(#{printQuantity}>0 ,#{printQuantity},fc.quantity) ) as numberSize,
CONCAT(
od.order_number,')',' ',
TRIM(TRAILING '.' FROM TRIM(TRAILING '0' FROM CAST(width AS CHAR))),
@@ -1824,7 +1824,8 @@
pl.patch_processes,
pl.responsible_team,
pl.responsible_personnel,
- od.building_number
+ od.building_number,
+ IFNULL(JSON_UNQUOTE(JSON_EXTRACT(od.other_columns, '$.S02')),'') as mapNumber
from flow_card as fc
left join sd.order_glass_detail as ogd
on fc.order_id = ogd.order_id and fc.order_number = ogd.order_number and
@@ -1912,7 +1913,8 @@
round(ogd.child_width) as width,
round(ogd.child_height) as height,
pd.separation,
- fc.technology_number
+ fc.technology_number,
+ IFNULL(JSON_UNQUOTE(JSON_EXTRACT(od.other_columns, '$.S02')),'') as mapNumber
from flow_card as fc
left join sd.order_glass_detail as ogd
on fc.order_id = ogd.order_id and fc.order_number = ogd.order_number and
@@ -3979,7 +3981,8 @@
c.print_status,
c.print_number,
o.project,
- o.customer_name
+ o.customer_name,
+ b.process
from pp.flow_card as c
left join
--
Gitblit v1.8.0