hangzhoumesParent/moduleService/howllowGlassModule/src/main/resources/mapper/HollowBigStorageCageDetailsMapper.xml
@@ -204,4 +204,13 @@ group by SLOT ORDER BY SLOT </select> <select id="querySlotMaxSequence" resultType="com.mes.hollow.entity.HollowBigStorageCageDetails"> select max(sequence) as sequence, device_id, slot from hollow_big_storage_cage_details where (flow_card_id, total_layer, layer, virtual_slot) = (#{flowCardId}, #{totalLayer}, #{layer}, #{virtualSlot}) and state in (0, 100, 102, 103, 104) group by device_id, slot order by sequence </select> </mapper>