Commit da861501 authored by tangwei's avatar tangwei

修改状态名称

parent 304a47ae
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
and hygf_jp_station.third_station_id =#{dto.thirdStationId} and hygf_jp_station.third_station_id =#{dto.thirdStationId}
</if> </if>
and hygf_jp_collector.`state` is not null and hygf_jp_collector.`state` in ("在线","警","离线") and hygf_jp_collector.`state` is not null and hygf_jp_collector.`state` in ("在线","警","离线")
</where> </where>
......
...@@ -203,7 +203,7 @@ public class JpStationController extends BaseController { ...@@ -203,7 +203,7 @@ public class JpStationController extends BaseController {
collector.put("zx",map.get("num")); collector.put("zx",map.get("num"));
}else if("离线".equals(map.get("state").toString())){ }else if("离线".equals(map.get("state").toString())){
collector.put("lx",map.get("num")); collector.put("lx",map.get("num"));
}else if("警".equals(map.get("state").toString())){ }else if("警".equals(map.get("state").toString())){
collector.put("gj",map.get("num")); collector.put("gj",map.get("num"));
} }
} }
...@@ -214,7 +214,7 @@ public class JpStationController extends BaseController { ...@@ -214,7 +214,7 @@ public class JpStationController extends BaseController {
inverter.put("zx",map.get("num")); inverter.put("zx",map.get("num"));
}else if("离线".equals(map.get("state").toString())){ }else if("离线".equals(map.get("state").toString())){
inverter.put("lx",map.get("num")); inverter.put("lx",map.get("num"));
}else if("警".equals(map.get("state").toString())){ }else if("警".equals(map.get("state").toString())){
inverter.put("gj",map.get("num")); inverter.put("gj",map.get("num"));
} }
} }
......
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