奥体项目数据问题修改
正在显示
1 个修改的文件
包含
12 行增加
和
0 行删除
... | @@ -1171,6 +1171,10 @@ public class OlympicCenterServiceImpl implements IOlympicCenterService { | ... | @@ -1171,6 +1171,10 @@ public class OlympicCenterServiceImpl implements IOlympicCenterService { |
1171 | dataMap.put("status","abnormal"); | 1171 | dataMap.put("status","abnormal"); |
1172 | } | 1172 | } |
1173 | } | 1173 | } |
1174 | if("0.0".equals(monitorMap.get(bean.getMonitorId())) | ||
1175 | ||"0.00".equals(monitorMap.get(bean.getMonitorId()))){ | ||
1176 | dataMap.put("value","0.01"); | ||
1177 | } | ||
1174 | beanMap.put(bean.getEquipType(), dataMap); | 1178 | beanMap.put(bean.getEquipType(), dataMap); |
1175 | }else{ | 1179 | }else{ |
1176 | dataMap.put("value","--"); | 1180 | dataMap.put("value","--"); |
... | @@ -1227,6 +1231,10 @@ public class OlympicCenterServiceImpl implements IOlympicCenterService { | ... | @@ -1227,6 +1231,10 @@ public class OlympicCenterServiceImpl implements IOlympicCenterService { |
1227 | dataMap.put("status","abnormal"); | 1231 | dataMap.put("status","abnormal"); |
1228 | } | 1232 | } |
1229 | } | 1233 | } |
1234 | if("0.0".equals(monitorMap.get(whatStructData.getMonitorId())) | ||
1235 | ||"0.00".equals(monitorMap.get(whatStructData.getMonitorId()))){ | ||
1236 | dataMap.put("value","0.01"); | ||
1237 | } | ||
1230 | map.put(whatStructData.getId(),dataMap); | 1238 | map.put(whatStructData.getId(),dataMap); |
1231 | } | 1239 | } |
1232 | }else{ | 1240 | }else{ |
... | @@ -1240,6 +1248,10 @@ public class OlympicCenterServiceImpl implements IOlympicCenterService { | ... | @@ -1240,6 +1248,10 @@ public class OlympicCenterServiceImpl implements IOlympicCenterService { |
1240 | dataMap.put("status","abnormal"); | 1248 | dataMap.put("status","abnormal"); |
1241 | } | 1249 | } |
1242 | } | 1250 | } |
1251 | if("0.0".equals(monitorMap.get(whatStructData.getMonitorId())) | ||
1252 | ||"0.00".equals(monitorMap.get(whatStructData.getMonitorId()))){ | ||
1253 | dataMap.put("value","0.01"); | ||
1254 | } | ||
1243 | map.put(whatStructData.getId(),dataMap); | 1255 | map.put(whatStructData.getId(),dataMap); |
1244 | } | 1256 | } |
1245 | }else{ | 1257 | }else{ | ... | ... |
-
请 注册 或 登录 后发表评论