From a0cd37141ccf191ec8e1362be880412917abe61b Mon Sep 17 00:00:00 2001
From: yang_shj <1069818635@QQ.com>
Date: Tue, 9 Jul 2024 08:51:24 +0800
Subject: [PATCH] =?UTF-8?q?#=E7=94=9F=E6=80=81=E6=B5=81=E9=87=8F=E6=9C=8D?=
=?UTF-8?q?=E5=8A=A1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
hzims-service-api/hzims-ecological-api/pom.xml | 31 ++
.../java/com/hnac/hzims/suichang/entity/Demo.java | 10 +
.../hnac/hzims/suichang/feign/ISuichangClient.java | 29 ++
.../com/hnac/hzims/suichang/util/DateUtil.java | 138 ++++++
.../hnac/hzims/suichang/util/MemoryPagination.java | 39 ++
.../hnac/hzims/suichang/vo/AvgMonitorCountVo.java | 43 ++
.../com/hnac/hzims/suichang/vo/AvgMonitorReq.java | 29 ++
.../com/hnac/hzims/suichang/vo/AvgMonitorVo.java | 54 +++
.../hnac/hzims/suichang/vo/EcologicalFlowVo.java | 80 ++++
.../hzims/suichang/vo/ExamStationFlowDataReq.java | 37 ++
.../suichang/vo/ExamStationFlowReportDayVo.java | 60 +++
.../suichang/vo/ExamStationFlowReportDetailVo.java | 33 ++
.../hzims/suichang/vo/ExamStationFlowReportVo.java | 49 ++
.../hnac/hzims/suichang/vo/FlowWarnQueryDTO.java | 26 ++
.../com/hnac/hzims/suichang/vo/FlowWarnVo.java | 45 ++
.../java/com/hnac/hzims/suichang/vo/ImageReq.java | 33 ++
.../java/com/hnac/hzims/suichang/vo/ImageVo.java | 28 ++
.../hnac/hzims/suichang/vo/MissingImagesRes.java | 22 +
.../hzims/suichang/vo/RealMonitorExportDTO.java | 46 ++
.../com/hnac/hzims/suichang/vo/RealMonitorRes.java | 27 ++
.../suichang/vo/RealMonitorSingleInfoReq.java | 27 ++
.../hzims/suichang/vo/RealMonitorSingleInfoVo.java | 25 ++
.../com/hnac/hzims/suichang/vo/RealMonitorVo.java | 47 ++
.../hnac/hzims/suichang/vo/StationQueryReq.java | 21 +
.../com/hnac/hzims/suichang/vo/StationTreeRes.java | 25 ++
.../com/hnac/hzims/suichang/vo/StationTypeVo.java | 70 +++
.../java/com/hnac/hzims/suichang/vo/StationVo.java | 45 ++
.../suichang/vo/StatisticsFlowDataDetailVo.java | 40 ++
.../hzims/suichang/vo/StatisticsFlowDataReq.java | 29 ++
.../hzims/suichang/vo/StatisticsFlowDataVo.java | 37 ++
hzims-service/hzims-ecological/pom.xml | 75 ++++
.../hnac/hzims/suichang/SuiChangApplication.java | 21 +
.../controller/EcologicalFlowController.java | 111 +++++
.../hzims/suichang/controller/ExamController.java | 72 +++
.../suichang/controller/FlowWarnController.java | 41 ++
.../controller/ImageAndVideoController.java | 69 +++
.../controller/StatisticsFlowDataController.java | 56 +++
.../hnac/hzims/suichang/feign/SuichangClient.java | 43 ++
.../suichang/mapper/EcologicalFlowMapper.java | 33 ++
.../hzims/suichang/mapper/EcologicalFlowMapper.xml | 104 +++++
.../hzims/suichang/mapper/ImageAndVideoMapper.java | 39 ++
.../hzims/suichang/mapper/ImageAndVideoMapper.xml | 61 +++
.../suichang/service/EcologicalFlowService.java | 36 ++
.../suichang/service/ExamStationDataService.java | 37 ++
.../hzims/suichang/service/FlowWarnService.java | 26 ++
.../suichang/service/ImageAndVideoService.java | 53 +++
.../hzims/suichang/service/RealMonitorService.java | 56 +++
.../suichang/service/StatisticsDataService.java | 20 +
.../service/impl/EcologicalFlowServiceImpl.java | 491 +++++++++++++++++++++
.../service/impl/ExamStationDataServiceImpl.java | 274 ++++++++++++
.../suichang/service/impl/FlowWarnServiceImpl.java | 75 ++++
.../service/impl/ImageAndVideoServiceImpl.java | 198 +++++++++
.../service/impl/RealMonitorServiceImpl.java | 419 ++++++++++++++++++
.../service/impl/StatisticsDataServiceImpl.java | 172 ++++++++
54 files changed, 3807 insertions(+)
create mode 100644 hzims-service-api/hzims-ecological-api/pom.xml
create mode 100644 hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/entity/Demo.java
create mode 100644 hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/feign/ISuichangClient.java
create mode 100644 hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/util/DateUtil.java
create mode 100644 hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/util/MemoryPagination.java
create mode 100644 hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/vo/AvgMonitorCountVo.java
create mode 100644 hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/vo/AvgMonitorReq.java
create mode 100644 hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/vo/AvgMonitorVo.java
create mode 100644 hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/vo/EcologicalFlowVo.java
create mode 100644 hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/vo/ExamStationFlowDataReq.java
create mode 100644 hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/vo/ExamStationFlowReportDayVo.java
create mode 100644 hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/vo/ExamStationFlowReportDetailVo.java
create mode 100644 hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/vo/ExamStationFlowReportVo.java
create mode 100644 hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/vo/FlowWarnQueryDTO.java
create mode 100644 hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/vo/FlowWarnVo.java
create mode 100644 hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/vo/ImageReq.java
create mode 100644 hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/vo/ImageVo.java
create mode 100644 hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/vo/MissingImagesRes.java
create mode 100644 hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/vo/RealMonitorExportDTO.java
create mode 100644 hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/vo/RealMonitorRes.java
create mode 100644 hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/vo/RealMonitorSingleInfoReq.java
create mode 100644 hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/vo/RealMonitorSingleInfoVo.java
create mode 100644 hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/vo/RealMonitorVo.java
create mode 100644 hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/vo/StationQueryReq.java
create mode 100644 hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/vo/StationTreeRes.java
create mode 100644 hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/vo/StationTypeVo.java
create mode 100644 hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/vo/StationVo.java
create mode 100644 hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/vo/StatisticsFlowDataDetailVo.java
create mode 100644 hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/vo/StatisticsFlowDataReq.java
create mode 100644 hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/vo/StatisticsFlowDataVo.java
create mode 100644 hzims-service/hzims-ecological/pom.xml
create mode 100644 hzims-service/hzims-ecological/src/main/java/com/hnac/hzims/suichang/SuiChangApplication.java
create mode 100644 hzims-service/hzims-ecological/src/main/java/com/hnac/hzims/suichang/controller/EcologicalFlowController.java
create mode 100644 hzims-service/hzims-ecological/src/main/java/com/hnac/hzims/suichang/controller/ExamController.java
create mode 100644 hzims-service/hzims-ecological/src/main/java/com/hnac/hzims/suichang/controller/FlowWarnController.java
create mode 100644 hzims-service/hzims-ecological/src/main/java/com/hnac/hzims/suichang/controller/ImageAndVideoController.java
create mode 100644 hzims-service/hzims-ecological/src/main/java/com/hnac/hzims/suichang/controller/StatisticsFlowDataController.java
create mode 100644 hzims-service/hzims-ecological/src/main/java/com/hnac/hzims/suichang/feign/SuichangClient.java
create mode 100644 hzims-service/hzims-ecological/src/main/java/com/hnac/hzims/suichang/mapper/EcologicalFlowMapper.java
create mode 100644 hzims-service/hzims-ecological/src/main/java/com/hnac/hzims/suichang/mapper/EcologicalFlowMapper.xml
create mode 100644 hzims-service/hzims-ecological/src/main/java/com/hnac/hzims/suichang/mapper/ImageAndVideoMapper.java
create mode 100644 hzims-service/hzims-ecological/src/main/java/com/hnac/hzims/suichang/mapper/ImageAndVideoMapper.xml
create mode 100644 hzims-service/hzims-ecological/src/main/java/com/hnac/hzims/suichang/service/EcologicalFlowService.java
create mode 100644 hzims-service/hzims-ecological/src/main/java/com/hnac/hzims/suichang/service/ExamStationDataService.java
create mode 100644 hzims-service/hzims-ecological/src/main/java/com/hnac/hzims/suichang/service/FlowWarnService.java
create mode 100644 hzims-service/hzims-ecological/src/main/java/com/hnac/hzims/suichang/service/ImageAndVideoService.java
create mode 100644 hzims-service/hzims-ecological/src/main/java/com/hnac/hzims/suichang/service/RealMonitorService.java
create mode 100644 hzims-service/hzims-ecological/src/main/java/com/hnac/hzims/suichang/service/StatisticsDataService.java
create mode 100644 hzims-service/hzims-ecological/src/main/java/com/hnac/hzims/suichang/service/impl/EcologicalFlowServiceImpl.java
create mode 100644 hzims-service/hzims-ecological/src/main/java/com/hnac/hzims/suichang/service/impl/ExamStationDataServiceImpl.java
create mode 100644 hzims-service/hzims-ecological/src/main/java/com/hnac/hzims/suichang/service/impl/FlowWarnServiceImpl.java
create mode 100644 hzims-service/hzims-ecological/src/main/java/com/hnac/hzims/suichang/service/impl/ImageAndVideoServiceImpl.java
create mode 100644 hzims-service/hzims-ecological/src/main/java/com/hnac/hzims/suichang/service/impl/RealMonitorServiceImpl.java
create mode 100644 hzims-service/hzims-ecological/src/main/java/com/hnac/hzims/suichang/service/impl/StatisticsDataServiceImpl.java
diff --git a/hzims-service-api/hzims-ecological-api/pom.xml b/hzims-service-api/hzims-ecological-api/pom.xml
new file mode 100644
index 0000000..71cf5e4
--- /dev/null
+++ b/hzims-service-api/hzims-ecological-api/pom.xml
@@ -0,0 +1,31 @@
+
+
+ 4.0.0
+
+ com.hnac.hzims
+ hzims-service-api
+ 4.0.0-SNAPSHOT
+
+
+ hzims-ecological-api
+
+
+ 8
+ 8
+ UTF-8
+
+
+
+
+
+ com.alibaba
+ easyexcel
+ 3.0.5
+
+
+
+
+
+
\ No newline at end of file
diff --git a/hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/entity/Demo.java b/hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/entity/Demo.java
new file mode 100644
index 0000000..f6aa071
--- /dev/null
+++ b/hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/entity/Demo.java
@@ -0,0 +1,10 @@
+package com.hnac.hzims.suichang.entity;
+
+/**
+ * @Author: liangfan
+ * @Date: 2024-03-08 15:06
+ * @Description:
+ */
+
+public class Demo {
+}
diff --git a/hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/feign/ISuichangClient.java b/hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/feign/ISuichangClient.java
new file mode 100644
index 0000000..fd61e11
--- /dev/null
+++ b/hzims-service-api/hzims-ecological-api/src/main/java/com/hnac/hzims/suichang/feign/ISuichangClient.java
@@ -0,0 +1,29 @@
+package com.hnac.hzims.suichang.feign;
+
+import com.hnac.hzims.suichang.vo.StationQueryReq;
+import com.hnac.hzims.suichang.vo.StationVo;
+import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.GetMapping;
+
+import java.time.LocalDateTime;
+import java.util.List;
+import java.util.Map;
+
+@FeignClient(
+ value = "suichang"
+)
+public interface ISuichangClient {
+ String API_PREFIX = "/suichangClient";
+
+ String GET_STATION_BY_REQ = API_PREFIX + "/getStationListByReq";
+
+ String GET_DATA = API_PREFIX + "/getData";
+
+ @GetMapping(GET_STATION_BY_REQ)
+ List getStationListByReq(StationQueryReq req);
+
+ @GetMapping(GET_DATA)
+ List