From 1d14ba39daf0422199c44b5b2ffc67d2364b2be2 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期日, 07 四月 2024 17:24:50 +0800 Subject: [PATCH] 工单状态完善 --- 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