浏览代码

APP 增加接口 设备上报事件数量 事件各状态数、各来源数

limeng 1 天之前
父节点
当前提交
a77a0b4a13

+ 19 - 0
src/main/java/com/sooka/sponest/mobile/appbigdata/controller/AppBigDataCountController.java

@@ -233,4 +233,23 @@ public class AppBigDataCountController extends VisuBaseService {
             }
         }
     }
+
+    /**
+     * 设备上报事件数量
+     */
+    @PostMapping("/getAIEventNum")
+    public R getAIEventNum(@RequestBody VisuForestCloudMapVO visuForestCloudMapVO) {
+        return remoteEventBaseService.getAIEventNum(visuForestCloudMapVO);
+    }
+
+    /**
+     * 事件各状态数、各来源数,入参需传日期 day = 2025-01-01
+     */
+    @PostMapping("/selectTodayEvents")
+    public R selectTodayEvents(@RequestBody VisuForestCloudMapVO visuForestCloudMapVO) {
+        return remoteEventBaseService.selectTodayEvents(visuForestCloudMapVO);
+    }
+
+
+
 }

+ 12 - 0
src/main/java/com/sooka/sponest/mobile/remoteapi/RemoteEventBaseService.java

@@ -44,6 +44,18 @@ public interface RemoteEventBaseService {
     @PostMapping("/eventapp/getEventCountGroupByEventStatus")
     public R getEventCountGroupByEventStatus(@RequestBody VisuForestCloudMapVO visuForestCloudMapVO);
 
+    /**
+     * 设备上报事件数量
+     */
+    @PostMapping("/eventapp/getAIEventNum")
+    public R getAIEventNum(@RequestBody VisuForestCloudMapVO visuForestCloudMapVO);
+
+    /**
+     * 事件各状态数、各来源数,入参需传日期 day = 2025-01-01
+     */
+    @PostMapping("/eventapp/selectTodayEvents")
+    public R selectTodayEvents(@RequestBody VisuForestCloudMapVO visuForestCloudMapVO);
+
 
     /***
      *乡村振兴事件类型--远端调用