From 285af7c086a4764740bd676493ec8d6e74722fea Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期五, 22 八月 2025 16:44:43 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10105/r/ERP_override

---
 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 a95d7d4..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,
-                 (select p.batch from sd.`order` p where p.order_id =#{orderId}) as 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