TVideoMapper.java 1.1 KB
package com.skua.modules.video.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.skua.modules.video.entity.TVideo;
import com.skua.modules.video.vo.VideoVO;

import org.apache.ibatis.annotations.Param;

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

/**
 * 视频信息
 */
public interface TVideoMapper extends BaseMapper<TVideo> {

    List<TVideo> querystructCodeList(@Param("structCodeId") String structCodeId);

    List<TVideo> queryByVideoId(@Param("id") String id);

    List<TVideo> queryNoZiDingYiVideo();

    /**
     * APP查询摄像头列表
     * @param orgCode
     * @return
     */
    List<Map<String, Object>> queryVideoList(@Param("departIds") String departIds);
    /**
     * <pre>
     * APP模糊查询摄像头
     * </pre>
     * @param videoName
     * @return
     * @author Li Yuanyuan, 2021年5月25日 下午5:58:13
     */
	List<VideoVO> queryByVideoName(String videoName, String departIds);

	List<TVideo> queryCustomPageList(Page<TVideo> pageList, TVideo tVideo);

	List<TVideo> queryCustomVideoPageList(Page<TVideo> pageList, VideoVO videoVO);
}