From e6b7d6af8f9acf79f32fd386a9cead2d24ae2f9a Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期五, 30 十二月 2022 15:04:55 +0800
Subject: [PATCH] fix: 栏目订阅

---
 ycl-platform/src/main/java/com/ycl/mapper/caseHandler/BaseCaseMapper.java |   58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 54 insertions(+), 4 deletions(-)

diff --git a/ycl-platform/src/main/java/com/ycl/mapper/caseHandler/BaseCaseMapper.java b/ycl-platform/src/main/java/com/ycl/mapper/caseHandler/BaseCaseMapper.java
index 0554f76..0bef9a8 100644
--- a/ycl-platform/src/main/java/com/ycl/mapper/caseHandler/BaseCaseMapper.java
+++ b/ycl-platform/src/main/java/com/ycl/mapper/caseHandler/BaseCaseMapper.java
@@ -2,9 +2,19 @@
 
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
-import com.ycl.bo.casePool.CasePoolIllegalBuildingDO;
-import com.ycl.bo.casePool.CasePoolViolationDO;
+import com.ycl.dto.caseHandler.QueryForViolationParam;
+import com.ycl.dto.cockpitManage.DelayDO;
 import com.ycl.entity.caseHandler.BaseCase;
+import com.ycl.vo.casePool.BaseCaseVO;
+import com.ycl.vo.casePool.CasePoolIllegalBuildingVO;
+import com.ycl.vo.casePool.CasePoolViolationVO;
+import com.ycl.vo.casePool.QueryForViolationVO;
+import com.ycl.vo.cockpit.enforcementEvents.EventVO;
+import com.ycl.vo.cockpit.enforcementEvents.VideoAndAreaVO;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+import java.util.Map;
 
 /**
  * <p>
@@ -15,7 +25,47 @@
  * @since 2022-09-24
  */
 public interface BaseCaseMapper extends BaseMapper<BaseCase> {
-    Page<CasePoolViolationDO> listViolationsPage(Page page, Integer state, Integer type, Integer resource);
+    Page<CasePoolViolationVO> listViolationsPage(Page page, Integer state, Integer type, Integer resource);
 
-    Page<CasePoolIllegalBuildingDO> listIllegalBuildingsPage(Page page, Integer state, Integer type, Integer resource);
+    Page<CasePoolIllegalBuildingVO> listIllegalBuildingsPage(Page page, Integer state, Integer type, Integer resource);
+
+    BaseCase selectCondMap(Map map);
+
+    Page<BaseCase> selectBaseCasePage(Page<BaseCase> page, @Param("code") String number, @Param("streetId") Integer streetId, @Param("categories") Integer categories, @Param("startTime") String startTime, @Param("endTime") String endTime, @Param("site") String site);
+
+    Page<QueryForViolationVO> selectViolationPage(Page<QueryForViolationVO> setCurrent, @Param(value = "queryForViolationParam") QueryForViolationParam queryForViolationParam);
+
+    List<QueryForViolationVO> selectViolationPage(@Param(value = "queryForViolationParam") QueryForViolationParam queryForViolationParam);
+
+    Page<BaseCaseVO> selectVideoInspection(Page<Object> objectPage);
+
+    Integer dayCount();
+
+    Integer weekCount();
+
+    Integer dispatchCount();
+
+    List<EventVO> selectEventList(String beginTime, String endTime);
+
+    Integer alCount();
+
+    Long selectRegisterCount();
+
+    Long selectStudyCount();
+
+    List<VideoAndAreaVO> areaCount();
+
+    List<DelayDO> selectDelayVOList();
+
+    List<VideoAndAreaVO> selectType();
+
+    Long selectLastMonthCount(List<Integer> states);
+
+    Long selectRecentlyMonthCount(List<Integer> states);
+
+    Long selectOnTimeCaseCount();
+
+    Long selectOnTimeCaseLastMonthCount();
+
+    Long selectOnTimeCaseRecentlyMonthCount();
 }

--
Gitblit v1.8.0