Commit 3a5a9786 authored by chenzhao's avatar chenzhao

修改代码

parent c7f2e54b
...@@ -1734,8 +1734,8 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator { ...@@ -1734,8 +1734,8 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
String number = equipNum.substring(equipNum.length() - 1); String number = equipNum.substring(equipNum.length() - 1);
map.put("titie", String.valueOf(num)); map.put("titie", String.valueOf(num));
map.put("titie" + number, equipNum); map.put("titie" + number, equipNum);
map.put("value" + number, indicatorsDto.getValue()); map.put("value" + number,String.format("%.2f",Double.parseDouble(indicatorsDto.getValue())) );
map.put("valueLabel" + number, indicatorsDto.getValueLabel()); map.put("valueLabel" + number, String.format("%.2f",Double.parseDouble(indicatorsDto.getValueLabel())) );
maps.add(map); maps.add(map);
} }
List<Map<String, Object>> dataMaps = sjglZsjZsbtzServiceImpl.sjglZsjZsbtzMapper.getStationInfoMapByStationGFWerks(werks,"集电线"); List<Map<String, Object>> dataMaps = sjglZsjZsbtzServiceImpl.sjglZsjZsbtzMapper.getStationInfoMapByStationGFWerks(werks,"集电线");
......
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