From 95f0a8b4d82a859f2018c9d77e1a8a3a38b2d523 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期二, 23 七月 2024 17:06:50 +0800 Subject: [PATCH] 报备记录、编号工具方法 --- 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