bravo-消息-批量-公屏飘屏

This commit is contained in:
khalil
2025-03-25 14:54:37 +08:00
parent 3c5d937ee1
commit 42bc816323
9 changed files with 142 additions and 140 deletions

View File

@@ -26,4 +26,5 @@ public interface RoomMapperExpand {
List<Room> listValidRoomsByParationId(@Param("index") Integer index, @Param("size") Integer size, @Param("parationId") Integer parationId);
List<Room> listValidRoomsByPartitionId(@Param("roomUid") Long roomUid, @Param("partitionId") Integer partitionId);
}

View File

@@ -90,4 +90,9 @@
<select id="listValidRoomsByParationId" resultMap = "RoomResultMap">
select * from room where valid = 1 and online_num > 0 and partition_id = #{parationId} limit #{index}, #{size}
</select>
<select id="listValidRoomsByPartitionId" resultMap="RoomResultMap">
select * from room where uid &lt;&gt; #{roomUid} and partition_id = #{partitionId} and valid = 1 and online_num > 0
</select>
</mapper>