4b240043 张雷

奥体项目数据问题修改

1 个父辈 0dbf5212
......@@ -1171,6 +1171,10 @@ public class OlympicCenterServiceImpl implements IOlympicCenterService {
dataMap.put("status","abnormal");
}
}
if("0.0".equals(monitorMap.get(bean.getMonitorId()))
||"0.00".equals(monitorMap.get(bean.getMonitorId()))){
dataMap.put("value","0.01");
}
beanMap.put(bean.getEquipType(), dataMap);
}else{
dataMap.put("value","--");
......@@ -1227,6 +1231,10 @@ public class OlympicCenterServiceImpl implements IOlympicCenterService {
dataMap.put("status","abnormal");
}
}
if("0.0".equals(monitorMap.get(whatStructData.getMonitorId()))
||"0.00".equals(monitorMap.get(whatStructData.getMonitorId()))){
dataMap.put("value","0.01");
}
map.put(whatStructData.getId(),dataMap);
}
}else{
......@@ -1240,6 +1248,10 @@ public class OlympicCenterServiceImpl implements IOlympicCenterService {
dataMap.put("status","abnormal");
}
}
if("0.0".equals(monitorMap.get(whatStructData.getMonitorId()))
||"0.00".equals(monitorMap.get(whatStructData.getMonitorId()))){
dataMap.put("value","0.01");
}
map.put(whatStructData.getId(),dataMap);
}
}else{
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!