From 1f215345a02f4a9ac91d7fac98e7a3ebd9deb890 Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期二, 02 七月 2024 11:28:06 +0800
Subject: [PATCH] 筛选是清除选中状态
---
north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml | 7 ++++---
1 files changed, 4 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 344e39b..3720314 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
@@ -636,7 +636,7 @@
select o.order_id as orderId,
project,
customer_id as customerId,
- customer_name as customerName,
+ o.customer_name as customerName,
order_type as orderType,
order_classify as orderClassify,
batch,
@@ -658,13 +658,14 @@
od.building_number as buildingNumber,
od.product_name as productName,
od.edging_type as edgingType,
- p.remarks
-
+ p.remarks,
+ c.customer_abbreviation as customerAbbreviation
from sd.order as o
left join sd.order_detail as od on o.order_id = od.order_id
left join flow_card as fc on o.order_id = fc.order_id and
od.order_number = fc.order_number
left join sd.product as p on p.id=od.product_id
+ left join sd.customer as c on c.id = o.customer_id
where fc.process_id = #{processId}
and fc.technology_number = #{technologyNumber}
group by od.order_number, width, height
--
Gitblit v1.8.0