From f59d7f75a997872935d55288d37cd80b3acb6dff Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期二, 21 一月 2025 10:33:05 +0800
Subject: [PATCH] 批量审核离线工单修改pingonline
---
ycl-server/src/main/java/com/ycl/platform/controller/DataCenterController.java | 38 +++++++++++++++++++++++++++++++++++---
1 files changed, 35 insertions(+), 3 deletions(-)
diff --git a/ycl-server/src/main/java/com/ycl/platform/controller/DataCenterController.java b/ycl-server/src/main/java/com/ycl/platform/controller/DataCenterController.java
index 55cb5e8..e1cd357 100644
--- a/ycl-server/src/main/java/com/ycl/platform/controller/DataCenterController.java
+++ b/ycl-server/src/main/java/com/ycl/platform/controller/DataCenterController.java
@@ -1,11 +1,14 @@
package com.ycl.platform.controller;
+import annotation.Log;
import com.ycl.platform.domain.query.DataCenterQuery;
import com.ycl.platform.service.DataCenterService;
import com.ycl.platform.service.ITMonitorService;
import com.ycl.platform.service.PlatformOnlineService;
import com.ycl.system.Result;
+import enumeration.BusinessType;
import io.swagger.annotations.ApiOperation;
+import jakarta.servlet.http.HttpServletResponse;
import lombok.RequiredArgsConstructor;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
@@ -38,7 +41,26 @@
query.setTime();
return monitorService.assetManagement(query);
}
-
+ /**
+ * 璧勪骇绠$悊缁熻
+ *
+ * @param query
+ * @return
+ */
+ @GetMapping("/assetManagement/count")
+ @ApiOperation(value = "璧勪骇绠$悊缁熻", notes = "璧勪骇绠$悊缁熻")
+ @PreAuthorize("@ss.hasPermi('assetManagement:page')")
+ public Result assetManagementCount(DataCenterQuery query) {
+ query.setTime();
+ return monitorService.assetManagementCount(query);
+ }
+ @DeleteMapping("/assetManagement/clear")
+ @ApiOperation(value = "娓呯悊涓�鏈轰竴妗�", notes = "娓呯悊涓�鏈轰竴妗�")
+ @PreAuthorize("@ss.hasPermi('point:remove')")
+ @Log(title = "娓呯悊涓�鏈轰竴妗�", businessType = BusinessType.DELETE)
+ public Result clear() {
+ return monitorService.clearMonitor();
+ }
/**
* 骞冲彴鍦ㄧ嚎鐜�
*
@@ -160,9 +182,19 @@
query.setTime();
return dataCenterService.videoImportantPointLabelingAccuracy(query);
}
-
/**
- * 瑙嗛锛氭牎鏃舵纭巼
+ * 瑙嗛锛氬鍑洪噸鐐圭偣浣嶆爣娉ㄦ纭巼
+ *
+ * @param query
+ * @return
+ */
+ @PostMapping("/videoImportantPointLabelingAccuracy/export")
+ public void videoImportantPointLabelingAccuracyExport(HttpServletResponse response,DataCenterQuery query) {
+ query.setTime();
+ dataCenterService.videoImportantPointLabelingAccuracyExport(response,query);
+ }
+ /**
+ * 瑙嗛锛氭牎鏃舵纭巼 锛堟柊瑙勫垯宸茬粡寮冪敤锛�
*
* @param query
* @return
--
Gitblit v1.8.0