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 | 105 +++++++++++++++++++++++++++++-----------------------
1 files changed, 59 insertions(+), 46 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 1a57746..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
@@ -1,8 +1,8 @@
package com.ycl.platform.controller;
import com.ycl.platform.domain.query.DataCenterQuery;
-import com.ycl.platform.domain.query.PlatformOnlineQuery;
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;
@@ -25,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);
+ }
/**
* 骞冲彴鍦ㄧ嚎鐜�
@@ -34,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);
}
/**
@@ -84,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);
}
/**
@@ -103,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);
}
/**
@@ -170,10 +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);
+ }
/**
* 杞﹁締锛氳鍥惧簱瀵规帴绋冲畾鎬�
@@ -286,13 +306,6 @@
}
-
-
-
-
-
-
-
/**
* 浜鸿劯锛氳鍥惧簱瀵规帴绋冲畾鎬�
*
@@ -301,7 +314,7 @@
*/
@GetMapping("/faceViewDockStable")
public Result faceViewDockStable(DataCenterQuery query) {
- return Result.ok().data(dataCenterService.faceViewDockStable(query));
+ return (dataCenterService.faceViewDockStable(query));
}
/**
@@ -312,7 +325,7 @@
*/
@GetMapping("/facePointOnlineRate")
public Result facePointOnlineRate(DataCenterQuery query) {
- return Result.ok().data(dataCenterService.facePointOnlineRate(query));
+ return (dataCenterService.facePointOnlineRate(query));
}
/**
@@ -323,7 +336,7 @@
*/
@GetMapping("/faceDirectoryConsistency")
public Result faceDirectoryConsistency(DataCenterQuery query) {
- return Result.ok().data(dataCenterService.faceDirectoryConsistency(query));
+ return (dataCenterService.faceDirectoryConsistency(query));
}
/**
@@ -334,7 +347,7 @@
*/
@GetMapping("/faceCollectionConsistency")
public Result faceCollectionConsistency(DataCenterQuery query) {
- return Result.ok().data(dataCenterService.faceCollectionConsistency(query));
+ return (dataCenterService.faceCollectionConsistency(query));
}
/**
@@ -345,7 +358,7 @@
*/
@GetMapping("/faceImgQualification")
public Result faceImgQualification(DataCenterQuery query) {
- return Result.ok().data(dataCenterService.faceImgQualification(query));
+ return (dataCenterService.faceImgQualification(query));
}
/**
@@ -356,7 +369,7 @@
*/
@GetMapping("/faceCapturesImagesAccuracy")
public Result faceCapturesImagesAccuracy(DataCenterQuery query) {
- return Result.ok().data(dataCenterService.faceCapturesImagesAccuracy(query));
+ return (dataCenterService.faceCapturesImagesAccuracy(query));
}
/**
@@ -367,7 +380,7 @@
*/
@GetMapping("/faceTimelyUpload")
public Result faceTimelyUpload(DataCenterQuery query) {
- return Result.ok().data(dataCenterService.faceTimelyUpload(query));
+ return (dataCenterService.faceTimelyUpload(query));
}
/**
@@ -378,6 +391,6 @@
*/
@GetMapping("/faceAvailabilityOfLargeImg")
public Result faceAvailabilityOfLargeImg(DataCenterQuery query) {
- return Result.ok().data(dataCenterService.faceAvailabilityOfLargeImg(query));
+ return (dataCenterService.faceAvailabilityOfLargeImg(query));
}
}
--
Gitblit v1.8.0