From eb196866b6b82289fa4fbb90639e23616dcfb82f Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期五, 22 八月 2025 15:09:21 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 north-glass-erp/src/main/resources/mapper/mm/FinishedGoodsInventory.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/north-glass-erp/src/main/resources/mapper/mm/FinishedGoodsInventory.xml b/north-glass-erp/src/main/resources/mapper/mm/FinishedGoodsInventory.xml
index c6561cc..54ff11c 100644
--- a/north-glass-erp/src/main/resources/mapper/mm/FinishedGoodsInventory.xml
+++ b/north-glass-erp/src/main/resources/mapper/mm/FinishedGoodsInventory.xml
@@ -1074,11 +1074,11 @@
     <select id="getPrintTitleByBox">
         select kkk.*,
                rw.teams_groups_name as teams_groups_name2
-        from(select  o.order_id,
+        from(select #{orderId} as order_id,
                  o.customer_name,
                  o.customer_id,
                  o.project,
-                 o.batch,
+                 (select batch from sd.`order` pp1 where pp1.order_id =#{orderId} ) as batch,
                  fol.box_no as 'remarks',
                  SUM(fol.quantity_available) as quantity,
                  ROUND( sum(od.width * od.height * fol.quantity_available) / 1000000, 2 ) as area,

--
Gitblit v1.8.0