package com.xhkjedu.slive.mapper.liveplay;

import com.xhkjedu.base.TkMapper;
import com.xhkjedu.slive.model.liveplay.LCourseSectionChatroom;

import java.util.List;
import java.util.Map;

/**
 * @ClassName CourseSectionChatroomMapper
 * Description TODO 课程课节聊天室
 * Author WN
 * Date 2021/3/6 10:34
 **/

public interface CourseSectionChatroomMapper extends TkMapper<LCourseSectionChatroom> {

    List<LCourseSectionChatroom> listChatrooms(Integer sectionid);

    //获取课节在线人数和学生总数
    Map getSectionStu(Integer sectionid, Integer userid);
}
