fuliqi
2023-12-16 12ada3a7e6680d5ab92901410e3cedd9b8077e56
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
package com.ycl.service.caseHandler;
 
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ycl.dto.caseHandler.QueryForViolationParam;
import com.ycl.dto.casePool.IllegalBuildingParam;
import com.ycl.dto.casePool.VideoInspectParam;
import com.ycl.dto.casePool.ViolationParam;
import com.ycl.entity.caseHandler.BaseCase;
import com.ycl.entity.caseHandler.BaseCaseDetail;
import com.ycl.vo.casePool.BaseCaseVO;
import com.ycl.vo.casePool.QueryForViolationVO;
import com.ycl.vo.cockpit.enforcementEvents.DelayVO;
import com.ycl.vo.cockpit.enforcementEvents.EventVO;
import com.ycl.vo.cockpit.enforcementEvents.VideoAndAreaVO;
import org.springframework.web.bind.annotation.RequestParam;
 
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
 
/**
 * <p>
 * 案件基本信息 服务类
 * </p>
 *
 * @author wl
 * @since 2022-09-24
 */
public interface IBaseCaseService extends IService<BaseCase> {
    /**
     * 上传市平台
     *
     * @param caseId
     * @return String
     * @author AI
     * @date 2022-09-28 16:52
     */
    String uploadEvent(Long caseId);
 
    Page listViolationsPage(Integer size, Integer current, List<Integer> state, Integer resource, String code, String categoryBig, String categorySmall, Integer street, String site, String startTime, String endTime, Integer violationsTypeId, Integer videoId);
 
    Page listIllegalBuilding(Integer current, Integer size, List<Integer> state, Integer resource);
 
    Boolean saveViolationCase(ViolationParam violationParam, Long id);
 
    Boolean saveIllegalBuildingCase(IllegalBuildingParam illegalBuildingParam, Long id);
 
    /**
     * 同步案件进度
     *
     * @param caseId
     * @return java.lang.String
     * @author AI
     * @date 2022-09-28 17:45
     */
    String processEvent(Integer caseId);
 
    BaseCaseDetail baseCaseDetail(String code);
 
    ArrayList<String> listCaseImages(Integer id, Integer type);
 
    void endCase(Long caseId, String result, String opinion);
 
    Page<BaseCase> selectPage(Page<BaseCase> setSize, String number, Integer communityId, Integer categories, String startTime, String endTime, String site, Integer state, Integer streetId, Integer time);
 
 
    Page<QueryForViolationVO> selectViolation(QueryForViolationParam queryForViolationParam);
 
    List<QueryForViolationVO> selectViolationList(QueryForViolationParam queryForViolationParam);
 
    Page<BaseCaseVO> selectVideoInspection(Integer current, Integer pageSize, Long gradeId, Long videoId, String beginTime, String endTime, Integer type);
 
    Map<String, Object> selectCount();
 
    Boolean updateCase(VideoInspectParam videoInspectParam);
 
    Integer dayCount();
 
    Integer weekCount();
 
    Integer dispatchCount();
 
    Integer alCount();
 
    IPage<EventVO> selectEventList(String beginTime, String endTime, Integer pageIndex, Integer pageSize);
 
    List<VideoAndAreaVO> areaCount();
 
    List<DelayVO> selectDelayList();
 
    Map<String, Object> statistics();
}