From f3a83f291df05ee8de20fd751e720ac761f8586e Mon Sep 17 00:00:00 2001 From: jinpengyong <jpy123456> Date: Mon, 22 Jun 2020 16:03:36 +0800 Subject: [PATCH] 无人机应用大屏页面update --- src/main/java/com/moral/service/impl/DeviceAdjustValueServiceImpl.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/moral/service/impl/DeviceAdjustValueServiceImpl.java b/src/main/java/com/moral/service/impl/DeviceAdjustValueServiceImpl.java index 6824615..df6c2f4 100644 --- a/src/main/java/com/moral/service/impl/DeviceAdjustValueServiceImpl.java +++ b/src/main/java/com/moral/service/impl/DeviceAdjustValueServiceImpl.java @@ -55,11 +55,11 @@ adjustValueMapper.updateByPrimaryKeySelective(adjustValue); } // ���������redis - Map<String,Float> adjustMap = new HashMap<>(); + Map<String,String> adjustMap = new HashMap<>(); if(adjustValue.getValue()!=null&&!adjustValue.getValue().isEmpty()){ - for(Map.Entry<String,Float> entry:adjustValue.getValue().entrySet()){ + for(Map.Entry<String,String> entry:adjustValue.getValue().entrySet()){ + adjustMap.put(entry.getKey(),entry.getValue()); if(entry.getValue()!=null){ - adjustMap.put(entry.getKey(),entry.getValue()); } } if(!adjustMap.isEmpty()){ -- Gitblit v1.8.0