zhanghua
2023-03-30 0879050c6f47cf61488848d2bdb882ec33bf341d
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
package com.ycl.mapper.caseHandler;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ycl.dto.caseHandler.QueryForViolationParam;
import com.ycl.dto.cockpitManage.DelayDO;
import com.ycl.entity.caseHandler.BaseCase;
import com.ycl.vo.casePool.BaseCaseVO;
import com.ycl.vo.casePool.CasePoolIllegalBuildingVO;
import com.ycl.vo.casePool.CasePoolViolationVO;
import com.ycl.vo.casePool.QueryForViolationVO;
import com.ycl.vo.cockpit.enforcementEvents.EventVO;
import com.ycl.vo.cockpit.enforcementEvents.VideoAndAreaVO;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
import java.util.Map;
 
/**
 * <p>
 * 案件基本信息 Mapper 接口
 * </p>
 *
 * @author wl
 * @since 2022-09-24
 */
public interface BaseCaseMapper extends BaseMapper<BaseCase> {
    Page<CasePoolViolationVO> listViolationsPage(Page page, Integer state, Integer type, Integer resource, String code, String categoryBig, String categorySmall, Integer street, String site, String startTime, String endTime, Integer violationsTypeId, Integer videoId);
 
    Page<CasePoolIllegalBuildingVO> listIllegalBuildingsPage(Page page, Integer state, Integer type, Integer resource);
 
    BaseCase selectCondMap(Map map);
 
    Page<BaseCase> selectBaseCasePage(Page<BaseCase> page, @Param("code") String number, @Param("streetId") Integer streetId, @Param("categories") Integer categories, @Param("startTime") String startTime, @Param("endTime") String endTime, @Param("site") String site);
 
    Page<QueryForViolationVO> selectViolationPage(Page<QueryForViolationVO> setCurrent, @Param(value = "queryForViolationParam") QueryForViolationParam queryForViolationParam);
 
    List<QueryForViolationVO> selectViolationPage(@Param(value = "queryForViolationParam") QueryForViolationParam queryForViolationParam);
 
    Page<BaseCaseVO> selectVideoInspection(Page<Object> objectPage);
 
    Integer dayCount();
 
    Integer weekCount();
 
    Integer dispatchCount();
 
    List<EventVO> selectEventList(String beginTime, String endTime);
 
    Integer alCount();
 
    Long selectRegisterCount();
 
    Long selectStudyCount();
 
    List<VideoAndAreaVO> areaCount();
 
    List<DelayDO> selectDelayVOList();
 
    List<VideoAndAreaVO> selectType();
 
    Long selectLastMonthCount(List<Integer> states);
 
    Long selectRecentlyMonthCount(List<Integer> states);
 
    Long selectOnTimeCaseCount();
 
    Long selectOnTimeCaseLastMonthCount();
 
    Long selectOnTimeCaseRecentlyMonthCount();
}