zhanghua
2025-04-14 1cad14bca191807e18705c3a5526eda8151be439
ycl-platform/src/main/java/com/ycl/mapper/unlawful/UnlawfulMapper.java
@@ -1,15 +1,39 @@
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;
public interface UnlawfulMapper {
    List<CategoryDto> getDataByType(Integer currentPage, Integer pageSize, String startTime, String endTime);
    StatusDto getStatusDataByType(String startTime, String endTime, Integer dictionaryId);
    /**
     * 获取总违规数量
     */
    Integer getTotal(String startTime, String endTime, Boolean type, Boolean street, Boolean video);
    List<CategoryDto> getDataByTypeExp();
    /**
     * 按照违规类型统计
     */
    IPage<UnlawfulDto> getDataByType(Page<UnlawfulDto> page, String startTime, String endTime);
    Integer getTotal();
    /**
     * 按照区域统计
     */
    IPage<UnlawfulDto> getDataByStreet(Page<UnlawfulDto> page, String startTime, String endTime);
    /**
     * 按点位统计
     */
    IPage<UnlawfulDto> getDataByPoint(Page<UnlawfulDto> page, String startTime, String endTime);
    /**
     * 按报警时间
     */
    IPage<UnlawfulDto> getDataByTime(Page<UnlawfulDto> page, String startTime, String endTime);
}