From 8634a3d14f74807cb2adbdc4cb50c57be10402a0 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期五, 12 四月 2024 16:29:56 +0800
Subject: [PATCH] 实体类plus
---
ycl-server/src/main/java/com/ycl/platform/controller/TMonitorController.java | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 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 7591d6e..f70f35f 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
@@ -11,7 +11,6 @@
import enumeration.BusinessType;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import java.util.List;
@@ -96,4 +95,24 @@
{
return toAjax(tMonitorService.deleteTMonitorByIds(ids));
}
+
+ /**
+ * 鑾峰彇瑙嗛璁惧缁熻鏁�
+ */
+ @GetMapping("/getVideoCount/{cameraFunType}")
+ public AjaxResult getVideoCount(@PathVariable String cameraFunType)
+ {
+ return success(tMonitorService.getVideoCount(cameraFunType));
+ }
+
+ /**
+ * 鑾峰彇寮傚父鎭㈠瑙嗛璁惧缁熻鏁�
+ */
+ @GetMapping("/recoveryException")
+ public AjaxResult recoveryException()
+ {
+ return success(tMonitorService.recoveryException());
+ }
+
+
}
--
Gitblit v1.8.0