qa-prevention-gwj/src/main/java/com/zcloud/mapper/dsno2/keyProjects/VideoResourcesMapper.java

92 lines
1.6 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.zcloud.mapper.dsno2.keyProjects;
import com.zcloud.entity.Page;
import com.zcloud.entity.PageData;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 说明:视频管理
* 作者luoxiaobao
* 时间2021-05-10
* 官网www.zcloudchina.com
*/
public interface VideoResourcesMapper {
/**新增
* @param pd
* @throws Exception
*/
void save(PageData pd);
/**删除
* @param pd
* @throws Exception
*/
void delete(PageData pd);
/**修改
* @param pd
* @throws Exception
*/
void edit(PageData pd);
/**列表
* @param page
* @throws Exception
*/
List<PageData> datalistPage(Page page);
/**列表(全部)
* @param pd
* @throws Exception
*/
List<PageData> listAll(PageData pd);
/**通过id获取数据
* @param pd
* @throws Exception
*/
PageData findById(PageData pd);
/**批量删除
* @param ArrayDATA_IDS
* @throws Exception
*/
void deleteAll(String[] ArrayDATA_IDS);
List<PageData> listByOutsourced(Page page);
List<PageData> getPageOutSourceBySidlistPage(Page pd);
/**
* 更新摄像头状态为在线
* @param onlineDeviceList
*/
void updateOnlineStatus(@Param("onlineList") List<String> onlineDeviceList);
/**
* 更新摄像头状态为离线
* @param offlineDeviceList
*/
void updateOfflineStatus(@Param("offlineList") List<String> offlineDeviceList);
/**
* 批量更新所有摄像头状态为离线
*/
void updateOfflineStatusAll();
/**
* 更新所有设备的设备国标编号
*/
void updateNationalCode();
/**
* 更新所有设备的通道国标编号
*/
void updateTHONationalCode();
}