From 004b4d31ff38bed2a975ec1ffd7177de66cab30c Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期四, 18 九月 2025 15:16:15 +0800
Subject: [PATCH] 出库编辑数据获取修改

---
 north-glass-erp/src/main/resources/mapper/mm/FinishedGlassShelf.xml |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/north-glass-erp/src/main/resources/mapper/mm/FinishedGlassShelf.xml b/north-glass-erp/src/main/resources/mapper/mm/FinishedGlassShelf.xml
index 6b1b74c..66cf88b 100644
--- a/north-glass-erp/src/main/resources/mapper/mm/FinishedGlassShelf.xml
+++ b/north-glass-erp/src/main/resources/mapper/mm/FinishedGlassShelf.xml
@@ -182,9 +182,13 @@
             fed.emit_number as emitNumber
         from
             mm.finished_glass_shelf_emit_details fed left join
-            (select count(*) as quantity,max_weight,max_width,max_height
-             from mm.finished_glass_shelf_information where state=0 group by max_weight,max_width,max_height) fi
-            on fed.max_weight=fi.max_weight and fed.max_weight=fi.max_weight and fed.max_width=fi.max_width
+            (select count(*) as quantity,max_weight,max_width,max_height,glass_shelf_name,unit,price
+             from mm.finished_glass_shelf_information
+             where state=0
+             group by max_weight,max_width,max_height,glass_shelf_name,unit,price
+             ) fi
+            on fed.max_weight=fi.max_weight and fed.max_weight=fi.max_weight and fed.max_width=fi.max_width and
+               fed.glass_shelf_name=fi.glass_shelf_name and fed.unit=fi.unit and fed.price=fi.price
         where emit_id=#{emitId}
     </select>
 

--
Gitblit v1.8.0