From 3cf5e9483f60c94d29df1a79bc0c1ca910ca46ef Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期二, 13 十二月 2022 14:58:24 +0800
Subject: [PATCH] fix: 执法事件对外接口
---
ycl-platform/src/main/java/com/ycl/service/caseHandler/IBaseCaseService.java | 46 +++++++++++++++++++++++++++++++++++++++++-----
1 files changed, 41 insertions(+), 5 deletions(-)
diff --git a/ycl-platform/src/main/java/com/ycl/service/caseHandler/IBaseCaseService.java b/ycl-platform/src/main/java/com/ycl/service/caseHandler/IBaseCaseService.java
index fd79ad5..bef1bc3 100644
--- a/ycl-platform/src/main/java/com/ycl/service/caseHandler/IBaseCaseService.java
+++ b/ycl-platform/src/main/java/com/ycl/service/caseHandler/IBaseCaseService.java
@@ -2,12 +2,21 @@
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
+import com.ycl.dto.caseHandler.QueryForViolationParam;
import com.ycl.dto.casePool.IllegalBuildingParam;
+import com.ycl.dto.casePool.VideoInspectParam;
import com.ycl.dto.casePool.ViolationParam;
import com.ycl.entity.caseHandler.BaseCase;
import com.ycl.entity.caseHandler.BaseCaseDetail;
+import com.ycl.vo.casePool.BaseCaseVO;
+import com.ycl.vo.casePool.QueryForViolationVO;
+import com.ycl.vo.cockpit.enforcementEvents.DelayVO;
+import com.ycl.vo.cockpit.enforcementEvents.EventVO;
+import com.ycl.vo.cockpit.enforcementEvents.VideoAndAreaVO;
import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
/**
* <p>
@@ -26,15 +35,16 @@
* @author AI
* @date 2022-09-28 16:52
*/
- String uploadEvent(Integer caseId);
+ String uploadEvent(Long caseId);
Page listViolationsPage(Page page, Integer state, Integer resource);
Page listIllegalBuilding(Page page, Integer state, Integer resource);
- Boolean saveViolationCase(ViolationParam violationParam,Integer id);
+ Boolean saveViolationCase(ViolationParam violationParam, Long id);
- Boolean saveIllegalBuildingCase(IllegalBuildingParam illegalBuildingParam, Integer id);
+ Boolean saveIllegalBuildingCase(IllegalBuildingParam illegalBuildingParam, Long id);
+
/**
* 鍚屾妗堜欢杩涘害
*
@@ -49,5 +59,31 @@
ArrayList<String> listCaseImages(Integer id, Integer type);
- void endCase(Integer caseId, String result);
-}
+ void endCase(Long caseId, String result, String opinion);
+
+ Page<BaseCase> selectPage(Page<BaseCase> setSize, String number, Integer streetId, Integer categories, String startTime, String endTime, String site);
+
+ Page<QueryForViolationVO> selectViolation(QueryForViolationParam queryForViolationParam);
+
+ List<QueryForViolationVO> selectViolationList(QueryForViolationParam queryForViolationParam);
+
+ Page<BaseCaseVO> selectVideoInspection(Integer current);
+
+ Map<String, Object> selectCount();
+
+ Boolean updateCase(VideoInspectParam videoInspectParam);
+
+ Integer dayCount();
+
+ Integer weekCount();
+
+ Integer dispatchCount();
+
+ Integer alCount();
+
+ List<EventVO> selectEventList(String beginTime, String endTime);
+
+ List<VideoAndAreaVO> areaCount();
+
+ List<DelayVO> selectDelayList();
+}
\ No newline at end of file
--
Gitblit v1.8.0