郑永安
2023-06-19 7a6abd05683528032687c75e80e0bd2030a3e46c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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);
 
 
}