From e55a701f5d4807a84eecc6aff5f69e35e9ee6af4 Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期四, 11 七月 2024 17:02:49 +0800
Subject: [PATCH] 提交

---
 north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml |    3 ++-
 1 files changed, 2 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 7ebb414..139c8cc 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
@@ -563,7 +563,7 @@
 
     <select id="getPrintLabel">
         select o.order_id,
-               o.customer_name,
+               c.customer_abbreviation as customer_name,
                o.project,
                od.building_number,
                od.processing_note,
@@ -583,6 +583,7 @@
                            on SUBSTR(opd.process_id, 1, 10) = ogd.order_id and opd.order_sort = ogd.order_number and opd.layer=ogd.technology_number
                  left join sd.product p on od.product_id = p.id
                  left join sd.basic_glass_type e on e.type_id = p.type_id
+        left join sd.customer c on c.id=o.customer_id
         where opd.project_no = #{projectNo}
         order by opd.stock_id
     </select>

--
Gitblit v1.8.0