From 800ff9835e75535dbf72c32e6c4617e1f99ff689 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期四, 22 八月 2024 08:00:10 +0800
Subject: [PATCH] 补片返工流程卡上显示责任信息,优化班组产量查询效率

---
 north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml |   10 +++++++---
 1 files changed, 7 insertions(+), 3 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 6996202..7f34b09 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
@@ -736,7 +736,9 @@
                opd.stock_id,
                od.quantity,
                od.other_columns,
-               od.bend_radius
+               od.bend_radius,
+               opd.heat_layout_id,
+               opd.heat_layout_sort
         from pp.optimize_detail opd
                  left join sd.`order` o on SUBSTR(opd.process_id, 1, 10) = o.order_id
                  left join sd.order_detail od
@@ -1260,7 +1262,8 @@
                dd.breakage_reason,
                dd.responsible_process,
                dd.responsible_team,
-               concat('瀵瑰簲鎴戝徃鍗曞彿', o.batch)                 AS otherRemarks
+               concat('瀵瑰簲鎴戝徃鍗曞彿', o.batch)                 AS otherRemarks,
+               dd.responsible_personnel
         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
@@ -1341,7 +1344,8 @@
                dd.breakage_reason,
                dd.responsible_process,
                dd.responsible_team,
-               concat('瀵瑰簲鎴戝徃鍗曞彿', o.batch)                 AS otherRemarks
+               concat('瀵瑰簲鎴戝徃鍗曞彿', o.batch)                 AS otherRemarks,
+               dd.responsible_personnel
         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

--
Gitblit v1.8.0