From d57b34decf204e4a1d0d5da9a259fdef55608cd5 Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期二, 24 十二月 2024 14:30:50 +0800
Subject: [PATCH] 1、大理片笼漏提代码

---
 hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/resources/mapper/BigStorageCageDetailsMapper.xml |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/resources/mapper/BigStorageCageDetailsMapper.xml b/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/resources/mapper/BigStorageCageDetailsMapper.xml
index 61adf41..aa85103 100644
--- a/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/resources/mapper/BigStorageCageDetailsMapper.xml
+++ b/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/resources/mapper/BigStorageCageDetailsMapper.xml
@@ -132,7 +132,7 @@
         </where>
     </update>
     <update id="updateDeviceIdBySlot">
-        update big_storage_cage_details t innser join big_storage_cage t1 on t.slot = t1.slot
+        update big_storage_cage_details t inner join big_storage_cage t1 on t.slot = t1.slot
         set t.device_id = t1.device_id
         where t.slot in (
         <foreach collection="list" item="item" separator=",">
@@ -266,4 +266,11 @@
         SELECT *
         FROM result
     </select>
+    <select id="querybigStorageCageDetail" resultType="com.mes.base.entity.vo.BigStorageVO">
+        SELECT SLOT, COUNT(1) AS COUNT
+        FROM BIG_STORAGE_CAGE_DETAILS
+        where state in (100, 102, 103, 104)
+        group by SLOT
+        ORDER BY SLOT
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0