4d8aad74 张雷

奥体项目数据接口修改

1 个父辈 ac29262e
......@@ -1518,9 +1518,22 @@ public class OlympicCenterServiceImpl implements IOlympicCenterService {
if(map.get(wList.get(0).getMonitorId())==null){
echartResult.setValue("");
}else{
double pResult = formatDouble(Double.parseDouble(map.get(wList.get(0).getMonitorId()).toString())*Double.parseDouble(wList.get(0).getMonitorZoom()));
for (WhatStructData whatStructData:wList) {
if("pressure".equals(whatStructData.getEquipType())){
if(whatStructData.getMonitorId()==null){
echartResult.setValue("");
}else{
if(map.get(whatStructData.getMonitorId())==null){
echartResult.setValue("");
}else{
double pResult = formatDouble(Double.parseDouble(map.get(whatStructData.getMonitorId()).toString())*Double.parseDouble(whatStructData.getMonitorZoom()));
echartResult.setValue(String.valueOf(pResult));
}
}
break;
}
}
}
echartResult.setSeries("压力表");
list.add(echartResult);
}else if("f".equals(type)){
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!