From bcc6047ef19e2bd7a83c7f6e6abcb2cd1d8107cc Mon Sep 17 00:00:00 2001 From: baizonghao <1719256278@qq.com> Date: 星期五, 24 二月 2023 17:51:36 +0800 Subject: [PATCH] 按照报警时间统计 --- ycl-platform/src/main/java/com/ycl/mapper/unlawful/UnlawfulMapper.java | 36 ++++++++++++++++++++++++++++++++++-- 1 files changed, 34 insertions(+), 2 deletions(-) diff --git a/ycl-platform/src/main/java/com/ycl/mapper/unlawful/UnlawfulMapper.java b/ycl-platform/src/main/java/com/ycl/mapper/unlawful/UnlawfulMapper.java index 380972d..d475f48 100644 --- a/ycl-platform/src/main/java/com/ycl/mapper/unlawful/UnlawfulMapper.java +++ b/ycl-platform/src/main/java/com/ycl/mapper/unlawful/UnlawfulMapper.java @@ -2,14 +2,46 @@ import com.ycl.dto.statistics.CategoryDto; import com.ycl.dto.statistics.StatusDto; +import com.ycl.dto.statistics.TimeDto; import java.util.List; public interface UnlawfulMapper { + /** + * 鑾峰彇鎬昏繚瑙勬暟閲� + */ + Integer getTotal(); + + /** + * 鎸夌収杩濊绫诲瀷缁熻 + */ List<CategoryDto> getDataByType(Integer currentPage, Integer pageSize, String startTime, String endTime); StatusDto getStatusDataByType(String startTime, String endTime, Integer dictionaryId); - List<CategoryDto> getDataByTypeExp(); - Integer getTotal(); + /** + * 鎸夌収鍖哄煙缁熻 + */ + List<CategoryDto> getDataByStreet(Integer currentPage, Integer pageSize, String startTime, String endTime); + StatusDto getStatusDataByStreet(String startTime, String endTime, Integer streetId); + List<CategoryDto> getDataByStreetExp(); + + /** + * 鎸夌偣浣嶇粺璁� + */ + List<String> getDataBySite(Integer currentPage, Integer pageSize, String startTime, String endTime); + StatusDto getStatusDataBySite(String startTime, String endTime, String site); + List<String> getDataBySiteExp(); + + /** + * 鎸夋姤璀︽椂闂� + */ + List<TimeDto> getDataByTime(Integer currentPage, Integer pageSize, String startTime, String endTime); + StatusDto getStatusDataByTime(String startTime, String endTime, Integer id); + List<TimeDto> getDataByTimeExp(); + + + + + } -- Gitblit v1.8.0