92 lines
1.6 KiB
Java
92 lines
1.6 KiB
Java
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();
|
||
}
|
||
|