Commit da8857fb authored by chenzhao's avatar chenzhao

修改现场分析问题

parent a447640c
......@@ -178,7 +178,7 @@ public class TDBigScreenAnalyseController extends BaseController {
Map<String, Object> map = healthListInfo.stream().collect(Collectors
.toMap(i -> String.valueOf(i.get("recdate")), i -> i.get("healthindex"), (key1, key2) -> key2));
for (String date : dateList) {
String value = map.get(date + " 00:00:00") != null ? String.valueOf(map.get(date))
String value = map.get(date) != null ? String.valueOf(map.get(date))
: "100";
valueList.add(String.valueOf(Math.round(Double.valueOf(value) * 10.0) / 10.0));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment