From 9a1843b565b97326c78b2e41fc6b7953f5af84d9 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期二, 23 七月 2024 10:15:34 +0800 Subject: [PATCH] 运维阈值key --- ycl-server/src/main/java/com/ycl/platform/service/impl/YwThresholdServiceImpl.java | 4 ++-- 1 files changed, 2 insertions(+), 2 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 f3752af..549e453 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 @@ -125,8 +125,8 @@ List<YwThreshold> ywThresholds = ywThresholdMapper.selectList(wrapper); Map<String, YwThreshold> map = new HashMap<>(); for (YwThreshold ywThreshold : ywThresholds) { - String name = ywThreshold.getName(); - map.put(name, ywThreshold); + String key = ywThreshold.getKey(); + map.put(key, ywThreshold); } //鏃堕挓鍑嗙‘鐜囬槇鍊� Float clockPercent = Float.valueOf(map.get(YwThreadConstants.Car_ClockPercent).getValue()); -- Gitblit v1.8.0