From b85a2ab202e1da68ca1e532a783dc0f5685dad3b Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期四, 22 八月 2024 23:43:40 +0800
Subject: [PATCH] Merge branch 'master' of http://bore.pub:10439/r/ERP_override

---
 north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml |    9 +++++----
 1 files changed, 5 insertions(+), 4 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 7f34b09..f1250c5 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
@@ -889,7 +889,7 @@
                od.building_number                                    as buildingNumber,
                od.product_name                                       as productName,
                od.edging_type                                        as edgingType,
-               p.remarks,
+               od.remarks,
                c.customer_abbreviation                               as customerAbbreviation,
                p.product_abbreviation                                as productAbbreviation,
                fc.process_id                                         as processId,
@@ -1023,7 +1023,8 @@
         from sd.order_detail as od
                  left join flow_card as fc on od.order_id = fc.order_id and od.order_number = fc.order_number
         where fc.process_id = #{processId}
-          and fc.technology_number = #{technologyNumber}
+          and POSITION(fc.technology_number in #{technologyNumber})
+        GROUP BY other_columns
         order by IF(fc.sort != NULL or fc.sort != '', fc.sort, fc.order_number)
     </select>
 
@@ -1506,7 +1507,7 @@
                od.building_number                                    as buildingNumber,
                od.product_name                                       as productName,
                od.edging_type                                        as edgingType,
-               p.remarks,
+               od.remarks,
                c.customer_abbreviation                               as customerAbbreviation,
                p.product_abbreviation                                as productAbbreviation,
                CONCAT(fc.process_id, '/', fc.technology_number)      as processId,
@@ -1986,7 +1987,7 @@
                od.building_number                                    as buildingNumber,
                od.product_name                                       as productName,
                od.edging_type                                        as edgingType,
-               p.remarks,
+               od.remarks,
                c.customer_abbreviation                               as customerAbbreviation,
                p.product_abbreviation                                as productAbbreviation,
                fc.process_id                                         as processId,

--
Gitblit v1.8.0