From 6293aab5383150da9769353c1c350d9156a9ca55 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期日, 01 九月 2024 14:00:05 +0800
Subject: [PATCH] 考核积分排序
---
ycl-server/src/main/java/com/ycl/platform/controller/DataCenterController.java | 78 +++++++++++++++++++++++++-------------
1 files changed, 51 insertions(+), 27 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 59f54c1..78a8c6f 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
@@ -2,6 +2,7 @@
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 io.swagger.annotations.ApiOperation;
@@ -24,6 +25,20 @@
private final DataCenterService dataCenterService;
private final PlatformOnlineService platformOnlineService;
+ private final ITMonitorService monitorService;
+
+ /**
+ * 璧勪骇绠$悊
+ *
+ * @param query
+ * @return
+ */
+ @GetMapping("/assetManagement")
+ @ApiOperation(value = "璧勪骇绠$悊", notes = "璧勪骇绠$悊")
+ @PreAuthorize("@ss.hasPermi('assetManagement:page')")
+ public Result assetManagement(DataCenterQuery query) {
+ return monitorService.assetManagement(query);
+ }
/**
* 骞冲彴鍦ㄧ嚎鐜�
@@ -33,20 +48,9 @@
*/
@GetMapping("/platformOnlineRate")
@ApiOperation(value = "骞冲彴鍦ㄧ嚎鐜�", notes = "骞冲彴鍦ㄧ嚎鐜�")
- @PreAuthorize("hasAuthority('platformOnline:page')")
+ @PreAuthorize("@ss.hasPermi('platformOnline:page')")
public Result platformOnlineRate(DataCenterQuery query) {
return platformOnlineService.page(query);
- }
-
- /**
- * 瑙嗛锛氱偣浣嶅湪绾跨巼
- *
- * @param query
- * @return
- */
- @GetMapping("/videoPointOnlineRate")
- public Result videoPointOnlineRate(DataCenterQuery query) {
- return dataCenterService.videoPointOnlineRate(query);
}
/**
@@ -83,14 +87,36 @@
}
/**
- * 瑙嗛锛氬綍鍍忓彲鐢ㄧ巼
+ * 瑙嗛锛氱偣浣嶅湪绾跨巼
*
* @param query
* @return
*/
- @GetMapping("/videoAvailabilityRate")
- public Result videoAvailabilityRate(DataCenterQuery query) {
+ @GetMapping("/videoPointOnlineRate")
+ public Result videoPointOnlineRate(DataCenterQuery query) {
+ return dataCenterService.videoPointOnlineRate(query);
+ }
+
+ /**
+ * 瑙嗛锛氶儴绾х偣浣嶅湪绾跨巼
+ *
+ * @param query
+ * @return
+ */
+ @GetMapping("/videoMinistrySiteOnline")
+ public Result videoMinistrySiteOnline(DataCenterQuery query) {
return dataCenterService.videoAvailabilityRate(query);
+ }
+
+ /**
+ * 瑙嗛锛氶儴绾у贰妫�褰曞儚鍙敤鐜�
+ *
+ * @param query
+ * @return
+ */
+ @GetMapping("/videoMinistryVideoAvailable")
+ public Result videoMinistryVideoAvailable(DataCenterQuery query) {
+ return dataCenterService.videoLabelingAccuracy(query);
}
/**
@@ -102,17 +128,6 @@
@GetMapping("/videoImportantPointAvailabilityRate")
public Result videoImportantPointAvailabilityRate(DataCenterQuery query) {
return dataCenterService.videoImportantPointAvailabilityRate(query);
- }
-
- /**
- * 瑙嗛锛氭爣娉ㄦ纭巼
- *
- * @param query
- * @return
- */
- @GetMapping("/videoLabelingAccuracy")
- public Result videoLabelingAccuracy(DataCenterQuery query) {
- return dataCenterService.videoLabelingAccuracy(query);
}
/**
@@ -169,7 +184,16 @@
public Result videoImportantPointImageOnlineRate(DataCenterQuery query) {
return dataCenterService.videoImportantPointImageOnlineRate(query);
}
-
+ /**
+ * 瑙嗛锛氬浘鍍忚祫婧愬畨鍏ㄧ鐞�
+ *
+ * @param query
+ * @return
+ */
+ @GetMapping("/videoImageResourceSecurity")
+ public Result videoImageResourceSecurity(DataCenterQuery query) {
+ return dataCenterService.videoImageResourceSecurity(query);
+ }
/**
* 杞﹁締锛氳鍥惧簱瀵规帴绋冲畾鎬�
--
Gitblit v1.8.0