package com.yonge.cooleshow.biz.dal.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yonge.cooleshow.biz.dal.wrapper.liveroom.ImLiveBroadcastRoomMemberWrapper;
import com.yonge.cooleshow.biz.dal.entity.ImLiveBroadcastRoomMember;
import com.yonge.toolset.base.page.PageInfo;

import java.util.Map;

/**
 * 直播间人员关系表
 * 2023-08-15 15:50:17
 */
public interface ImLiveBroadcastRoomMemberService extends IService<ImLiveBroadcastRoomMember>  {

	/**
     * 查询详情
     * @param id 详情ID
     * @return ImLiveBroadcastRoomMember
     */
	ImLiveBroadcastRoomMember detail(Long id);

    /**
     * 分页查询
     * @param page IPage<ImLiveBroadcastRoomMember>
     * @param query ImLiveBroadcastRoomMemberWrapper.ImLiveBroadcastRoomMemberQuery
     * @return IPage<ImLiveBroadcastRoomMember>
     */
    IPage<ImLiveBroadcastRoomMember> selectPage(IPage<ImLiveBroadcastRoomMember> page, ImLiveBroadcastRoomMemberWrapper.ImLiveBroadcastRoomMemberQuery query);
	
    /**
     * 添加
     * @param imLiveBroadcastRoomMember ImLiveBroadcastRoomMemberWrapper.ImLiveBroadcastRoomMember
     * @return Boolean
     */
     Boolean add(ImLiveBroadcastRoomMemberWrapper.ImLiveBroadcastRoomMember imLiveBroadcastRoomMember);   

    /**
     * 更新
     * @param imLiveBroadcastRoomMember ImLiveBroadcastRoomMemberWrapper.ImLiveBroadcastRoomMember
     * @return Boolean
     */
     Boolean update(ImLiveBroadcastRoomMemberWrapper.ImLiveBroadcastRoomMember imLiveBroadcastRoomMember);


    /**
     * 查询房间观看人员详情
     */
    PageInfo<ImLiveBroadcastRoomMemberWrapper.ImLiveBroadcastRoomMember> queryRoomMember(Map<String, Object> param);
}