bravo-消息-批量-公屏飘屏
This commit is contained in:
@@ -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);
|
||||
}
|
@@ -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 <> #{roomUid} and partition_id = #{partitionId} and valid = 1 and online_num > 0
|
||||
</select>
|
||||
|
||||
</mapper>
|
Reference in New Issue
Block a user