Commit a0654fb6 authored by 朱晨阳's avatar 朱晨阳

首页-当月计划完成排名显示为null%

parent c098ea28
......@@ -729,7 +729,7 @@ public class MonitorServiceImpl implements MonitorService {
budunStationValueDtoList.forEach(budunStationValueDto -> {
HashMap<String, String> hashMap1 = new HashMap<>();
hashMap1.put("stationName", budunStationValueDto.getStation_name());
hashMap1.put("value", budunStationValueDto.getValue() + "%");
hashMap1.put("value", (budunStationValueDto.getValue() == null ? 0 : budunStationValueDto.getValue())+ "%");
hashMap1.put("value1", String.valueOf(budunStationValueDto.getValue()));
mapList.add(hashMap1);
});
......
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