From 44858471387cb6808fb086813d5987daf9e5d77a Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期五, 13 九月 2024 14:05:16 +0800
Subject: [PATCH] 运行监控增加省厅条件、点位在线取point online,统计增加数据权限

---
 ycl-server/src/main/java/com/ycl/platform/controller/TMonitorController.java |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/ycl-server/src/main/java/com/ycl/platform/controller/TMonitorController.java b/ycl-server/src/main/java/com/ycl/platform/controller/TMonitorController.java
index 3ac12c1..b79c732 100644
--- a/ycl-server/src/main/java/com/ycl/platform/controller/TMonitorController.java
+++ b/ycl-server/src/main/java/com/ycl/platform/controller/TMonitorController.java
@@ -32,7 +32,7 @@
     /**
      * 鏌ヨ璁惧璧勪骇鍒楄〃
      */
-   @PreAuthorize("@ss.hasPermi('system:monitor:list')")
+    @PreAuthorize("@ss.hasPermi('system:monitor:list')")
     @GetMapping("/list")
     public TableDataInfo list(TMonitorVO tMonitor)
     {
@@ -101,12 +101,10 @@
      * 鑾峰彇瑙嗛璁惧缁熻鏁�
      */
     @PreAuthorize("@ss.hasPermi('system:monitor:list')")
-    @GetMapping("/getVideoCount/{cameraFunType}")
-    public AjaxResult getVideoCount(@PathVariable String cameraFunType)
+    @GetMapping("/getVideoCount")
+    public AjaxResult getVideoCount(TMonitorVO monitor)
     {
-        TMonitor tMonitor = new TMonitor();
-        tMonitor.setCameraFunType(cameraFunType);
-        return success(tMonitorService.getVideoCount(tMonitor));
+        return success(tMonitorService.getVideoCount(monitor));
     }
 
     /**
@@ -114,9 +112,9 @@
      */
     @PreAuthorize("@ss.hasPermi('system:monitor:list')")
     @GetMapping("/recoveryException")
-    public AjaxResult recoveryException()
+    public AjaxResult recoveryException(TMonitorVO monitor)
     {
-        return success(tMonitorService.recoveryException());
+        return success(tMonitorService.recoveryException(monitor));
     }
 
 

--
Gitblit v1.8.0