From 009e3e6fe18e3229ef1a6b2a39c9de57dd9d34bc Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期三, 31 七月 2024 15:58:38 +0800
Subject: [PATCH] 数据中心响应类调整
---
ycl-server/src/main/java/com/ycl/platform/service/impl/YwThresholdServiceImpl.java | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/ycl-server/src/main/java/com/ycl/platform/service/impl/YwThresholdServiceImpl.java b/ycl-server/src/main/java/com/ycl/platform/service/impl/YwThresholdServiceImpl.java
index 78339cd..f7e87d5 100644
--- a/ycl-server/src/main/java/com/ycl/platform/service/impl/YwThresholdServiceImpl.java
+++ b/ycl-server/src/main/java/com/ycl/platform/service/impl/YwThresholdServiceImpl.java
@@ -101,7 +101,11 @@
return ywThresholdMapper.deleteYwThresholdById(id);
}
-
+ /**
+ * 鍒ゆ柇瑙嗛闃堝�兼槸鍚︽弧瓒充笅鍙戞潯浠�
+ *
+ * @param list
+ */
@Override
public void videoCheck(List list) {
@@ -207,15 +211,15 @@
T thresholdAutoValue = parseThreshold(ywThreshold.getValue(), value.getClass());
//姣旇緝澶у皬锛屽姞鍏ュ埌瀵瑰簲寰呭鐞嗛泦鍚�
if (compareType.compare(v, thresholdAutoValue)) {
+ //鑷姩涓嬪彂宸ュ崟
workOrderList.add(result);
} else if (compareType.compare(v, thresholdValue)) {
+ //杩涘叆宸ュ崟浠d笅鍙�
distributeList.add(result);
}
},
() -> log.error("{} 涓虹┖: {}", thresholds.get(key).getName(), result)
);
-
-
}
private <T extends Comparable<T>> T parseThreshold(String thresholdStr, Class<?> type) {
--
Gitblit v1.8.0