package com.gkhy.safePlatform.account.rpc.apimodel;
|
|
import com.gkhy.safePlatform.account.rpc.apimodel.model.req.query.CameraRpcQuery;
|
import com.gkhy.safePlatform.account.rpc.apimodel.model.resp.CameraRpcRespDTO;
|
import com.gkhy.safePlatform.commons.vo.SearchResultVO;
|
|
import java.util.List;
|
|
public interface CameraService {
|
|
/**
|
* 分页查询指定部门所属事业部的可用摄像头
|
* @param query
|
* @return
|
*/
|
SearchResultVO<List<CameraRpcRespDTO>> listCamerasByDepId(CameraRpcQuery query);
|
|
/**
|
* 查看用户所属事业部的全部可用摄像头
|
* @param userId
|
* @return
|
*/
|
SearchResultVO<List<CameraRpcRespDTO>> listCamerasByUserId(Long userId);
|
|
/**
|
* 查看指定ID的摄像头数据
|
* @param cameraId
|
* @return
|
*/
|
SearchResultVO<CameraRpcRespDTO> findCameraById(Long cameraId);
|
|
/**
|
* 多条件分页查询摄像头
|
* @param query
|
* @return
|
*/
|
SearchResultVO<List<CameraRpcRespDTO>> findCamerasByCondition(CameraRpcQuery query);
|
|
|
/**
|
* 传入摄像头ID列表,查询摄像头列表数据
|
* @param cameraIdList
|
* @return
|
*/
|
SearchResultVO<List<CameraRpcRespDTO>> listByCameraIdList(List<Long> cameraIdList);
|
|
|
}
|