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 {
|
/**
|
* 获取总违规数量
|
*/
|
Integer getTotal(String startTime, String endTime, Boolean type, Boolean street, Boolean video);
|
|
/**
|
* 按照违规类型统计
|
*/
|
IPage<UnlawfulDto> getDataByType(Page<UnlawfulDto> page, String startTime, String endTime);
|
|
|
/**
|
* 按照区域统计
|
*/
|
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);
|
}
|