From 1195e51e67436cf2b9513678b5e9d3f27a043de4 Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期一, 22 十二月 2025 08:29:40 +0800
Subject: [PATCH] 1、中空选中除膜改为多选 2、流程卡报工情况查询添加工程号条件,添加线路,备注显示

---
 hangzhoumesParent/moduleService/hollowGlassModule/src/main/resources/mapper/HollowBigStorageCageDetailsMapper.xml |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/hangzhoumesParent/moduleService/hollowGlassModule/src/main/resources/mapper/HollowBigStorageCageDetailsMapper.xml b/hangzhoumesParent/moduleService/hollowGlassModule/src/main/resources/mapper/HollowBigStorageCageDetailsMapper.xml
index ce49475..f84700f 100644
--- a/hangzhoumesParent/moduleService/hollowGlassModule/src/main/resources/mapper/HollowBigStorageCageDetailsMapper.xml
+++ b/hangzhoumesParent/moduleService/hollowGlassModule/src/main/resources/mapper/HollowBigStorageCageDetailsMapper.xml
@@ -212,11 +212,14 @@
         </if>
     </select>
     <select id="queryHollowbigStorageCageDetail" resultType="com.mes.base.entity.vo.BigStorageVO">
-        select hbsc.device_id, hbsc.slot, count(hbscd.glass_id) as count
+        select hbsc.device_id,
+               hbsc.slot,
+               hbscd.glass_id,
+               if(hbscd.width > hbscd.height, hbscd.width, hbscd.height) as length
         from hollow_big_storage_cage hbsc
                  left join hollow_big_storage_cage_details hbscd
                            on hbsc.slot = hbscd.slot and hbscd.state in (100, 102, 103, 104)
-        group by hbsc.device_id, hbsc.slot
+        group by hbsc.device_id, hbsc.slot, hbscd.glass_id
         order by hbsc.device_id, hbsc.slot
     </select>
     <select id="querySlotMaxSequence" resultType="com.mes.hollow.entity.HollowBigStorageCageDetails">

--
Gitblit v1.8.0