package com.ard.work.device.camera.mapper;
|
|
import com.ard.work.device.camera.domain.ArdCameraPtzScope;
|
import com.dtflys.forest.annotation.Delete;
|
|
import java.util.List;
|
|
/**
|
* 摄像头PTZ范围Mapper接口
|
*
|
* @author 刘苏义
|
* @date 2024-09-05
|
*/
|
public interface ArdCameraPtzScopeMapper {
|
|
/**
|
* 查询摄像头PTZ范围
|
*
|
* @param id 摄像头PTZ范围主键
|
* @return 摄像头PTZ范围
|
*/
|
public ArdCameraPtzScope selectArdCameraPtzScopeById(Long id);
|
|
/**
|
* 根据摄像头ID查询PTZ范围
|
*
|
* @param cameraId 摄像头ID
|
* @return 摄像头PTZ范围
|
*/
|
public ArdCameraPtzScope selectArdCameraPtzScopeByCameraId(String cameraId);
|
|
/**
|
* 查询摄像头PTZ范围列表
|
*
|
* @param ardCameraPtzScope 摄像头PTZ范围
|
* @return 摄像头PTZ范围集合
|
*/
|
public List<ArdCameraPtzScope> selectArdCameraPtzScopeList(ArdCameraPtzScope ardCameraPtzScope);
|
|
/**
|
* 新增摄像头PTZ范围
|
*
|
* @param ardCameraPtzScope 摄像头PTZ范围
|
* @return 结果
|
*/
|
public int insertArdCameraPtzScope(ArdCameraPtzScope ardCameraPtzScope);
|
|
/**
|
* 修改摄像头PTZ范围
|
*
|
* @param ardCameraPtzScope 摄像头PTZ范围
|
* @return 结果
|
*/
|
public int updateArdCameraPtzScope(ArdCameraPtzScope ardCameraPtzScope);
|
|
/**
|
* 删除摄像头PTZ范围
|
*
|
* @param id 摄像头PTZ范围主键
|
* @return 结果
|
*/
|
public int deleteArdCameraPtzScopeById(Long id);
|
|
/**
|
* 批量删除摄像头PTZ范围
|
*
|
* @param ids 需要删除的数据主键集合
|
* @return 结果
|
*/
|
public int deleteArdCameraPtzScopeByIds(String[] ids);
|
|
/**
|
* 插入或更新(存在则更新)
|
*
|
* @param ardCameraPtzScope 摄像头PTZ范围
|
* @return 结果
|
*/
|
public int insertOrUpdate(ArdCameraPtzScope ardCameraPtzScope);
|
|
/**
|
* 清空所有数据
|
*/
|
public int clearAll();
|
}
|