eight
2025-04-14 aadbf9b0e34baa8221ba7b2b555d1fdd2ecc9340
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/mysql/queue/QueueMapper.java
@@ -57,6 +57,16 @@
    @Select("<script>" +
            "SELECT * FROM lihu.queue " +
            "where room_id = #{roomId} and status in (" +
            " <foreach collection='statusList' separator=',' item='status'>" +
            " #{status} " +
            " </foreach> )" +
            " order by status desc, seq_num, create_time" +
            "</script>")
    List<QueueDO> getRoomQueueByStatusAndInstallOrder(@Param("roomId")Long roomId, @Param("statusList")List<Integer> statusList);
    @Select("<script>" +
            "SELECT * FROM lihu.queue " +
            "where status in (" +
            " <foreach collection='statusList' separator=',' item='status'>" +
            "  #{status} " +