zhanghua
2025-04-14 1cad14bca191807e18705c3a5526eda8151be439
ycl-platform/src/main/java/com/ycl/mapper/unlawful/UnlawfulMapper.java
@@ -1,7 +1,11 @@
package com.ycl.mapper.unlawful;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ycl.dto.statistics.CategoryDto;
import com.ycl.dto.statistics.StatusDto;
import com.ycl.dto.statistics.TimeDto;
import com.ycl.dto.statistics.UnlawfulDto;
import java.util.List;
@@ -9,31 +13,27 @@
    /**
     * 获取总违规数量
     */
    Integer getTotal();
    Integer getTotal(String startTime, String endTime, Boolean type, Boolean street, Boolean video);
    /**
     *  按照违规类型统计
     * 按照违规类型统计
     */
    List<CategoryDto> getDataByType(Integer currentPage, Integer pageSize, String startTime, String endTime);
    StatusDto getStatusDataByType(String startTime, String endTime, Integer dictionaryId);
    List<CategoryDto> getDataByTypeExp();
    IPage<UnlawfulDto> getDataByType(Page<UnlawfulDto> page, String startTime, String endTime);
    /**
     *  按照区域统计
     * 按照区域统计
     */
    List<CategoryDto> getDataByStreet(Integer currentPage, Integer pageSize, String startTime, String endTime);
    StatusDto getStatusDataByStreet(String startTime, String endTime, Integer streetId);
    List<CategoryDto> getDataByStreetExp();
    IPage<UnlawfulDto> getDataByStreet(Page<UnlawfulDto> page, String startTime, String endTime);
    /**
     * 按点位统计
     */
    List<String> getDataBySite(Integer currentPage, Integer pageSize, String startTime, String endTime);
    StatusDto getStatusDataBySite(String startTime, String endTime, String site);
    List<String> getDataBySiteExp();
    IPage<UnlawfulDto> getDataByPoint(Page<UnlawfulDto> page, String startTime, String endTime);
    /**
     * 按报警时间
     */
    IPage<UnlawfulDto> getDataByTime(Page<UnlawfulDto> page, String startTime, String endTime);
}