package cn.flightfeather.supervision.lightshare.repository
|
|
import cn.flightfeather.supervision.domain.entity.MeetingInfo
|
import cn.flightfeather.supervision.domain.entity.Participant
|
import cn.flightfeather.supervision.domain.entity.VMRoom
|
import cn.flightfeather.supervision.lightshare.vo.MeetingUserOnlineStatusVo
|
|
/**
|
* @author riku
|
* Date: 2019/12/19
|
*/
|
interface MeetingParticipantRepository {
|
|
//删除会议时, 同时删除所有参会人员
|
fun deleteAllByMeetingId(meetingId: String): Int
|
|
/**
|
* 新建人员
|
* @return 0:已有改参会人员,无法重复添加;1:插入成功
|
*/
|
fun addParticipant(participant: Participant): Int
|
|
fun deleteParticipant(participant: Participant): Int
|
|
fun getParticipantByType(meetingId: String, roomId: String?, participantType: Int): List<Participant>
|
|
fun getParticipant(meetingId: String, roomId: String?, participantId: String): Participant?
|
|
fun selectAsUserInfo(meetingId: String, roomId: String): List<MeetingUserOnlineStatusVo>
|
|
}
|