zhanghua
2023-04-14 e8a0f05f99f33fa05085536541da6bc27e66a644
ycl-platform/src/main/java/com/ycl/mapper/caseHandler/BaseCaseMapper.java
@@ -1,6 +1,7 @@
package com.ycl.mapper.caseHandler;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ycl.dto.caseHandler.QueryForViolationParam;
import com.ycl.dto.cockpitManage.DelayDO;
@@ -25,7 +26,7 @@
 * @since 2022-09-24
 */
public interface BaseCaseMapper extends BaseMapper<BaseCase> {
    Page<CasePoolViolationVO> listViolationsPage(Page page, Integer state, Integer type, Integer resource);
    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);
@@ -37,7 +38,7 @@
    List<QueryForViolationVO> selectViolationPage(@Param(value = "queryForViolationParam") QueryForViolationParam queryForViolationParam);
    Page<BaseCaseVO> selectVideoInspection(Page<Object> objectPage);
    Page<BaseCaseVO> selectVideoInspection(Page<Object> objectPage, @Param("gradeId") Long gradeId, @Param("videoId") Long videoId, @Param("beginTime") String beginTime, @Param("endTime") String endTime);
    Integer dayCount();
@@ -45,7 +46,7 @@
    Integer dispatchCount();
    List<EventVO> selectEventList(String beginTime, String endTime);
    IPage<EventVO> selectEventList(IPage<EventVO> page, String beginTime, String endTime);
    Integer alCount();
@@ -58,4 +59,14 @@
    List<DelayDO> selectDelayVOList();
    List<VideoAndAreaVO> selectType();
    Long selectLastMonthCount(List<Integer> states);
    Long selectRecentlyMonthCount(List<Integer> states);
    Long selectOnTimeCaseCount();
    Long selectOnTimeCaseLastMonthCount();
    Long selectOnTimeCaseRecentlyMonthCount();
}