package com.usky.meeting.mapper;

import com.usky.meeting.domain.MeetingDevicePersonBind;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 会议设备人员绑定 Mapper
 */
@Repository
public interface MeetingDevicePersonBindMapper {

    /**
     * 根据设备UUID删除绑定关系
     */
    void deleteByDeviceUuid(@Param("deviceUuid") Long deviceUuid);

    /**
     * 根据多个设备UUID查询绑定关系
     */
    List<MeetingDevicePersonBind> selectByDeviceUuids(@Param("deviceUuids") List<Long> deviceUuids);

    /**
     * 新增绑定关系
     */
    void insert(MeetingDevicePersonBind bind);
}
