package com.testor.module.video.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.testor.module.video.model.domain.VideoEquipmentInfo;
import com.testor.module.video.model.domain.VideoQueryParam;
import com.tongtech.tfw.backend.common.models.supers.SuperDao;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VideoAlarmDao extends SuperDao<VideoEquipmentInfo> {

    Page<VideoEquipmentInfo> selectVideoInfoBySpaceType(Page<VideoEquipmentInfo> resultPage,@Param("param") VideoQueryParam param);

    Page<VideoEquipmentInfo> selectVideoInfoBySpace(Page<VideoEquipmentInfo> resultPage, @Param("param") VideoQueryParam param);

    Page<VideoEquipmentInfo> selectVideoInfoByMonitor(Page<VideoEquipmentInfo> resultPage,@Param("param")  VideoQueryParam param);

    Page<VideoEquipmentInfo> selectBySpaceList(Page<VideoEquipmentInfo> resultPage,@Param("markList") List<Integer> markList,@Param("monitorId") String monitorId);

    List<VideoEquipmentInfo> selectListSpace(@Param("mark") int i,@Param("orgId") String childrenOrgId);
}
