4d8aad74 张雷

奥体项目数据接口修改

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