| | |
| | | //9.1查询已经添加物理信息的机房(用户管理的,3.根据具体id查询告警信息等)
|
| | | public List serchInBattMapByUid3(Object obj) {
|
| | | BattMap_information binfor=(BattMap_information) obj;
|
| | | String sql="select distinct tb_battmap_information.num,tb_battmap_information.StationId,tb_battmap_information.StationName,address,longitude,latitude,information,db_battinf.tb_battinf.FBSDeviceId " +
|
| | | String sql="select distinct tb_battmap_information.num,tb_battmap_information.StationId,tb_battmap_information.StationName,address,longitude,latitude,information,db_battinf.tb_battinf.FBSDeviceId,tb_battinf.stationName1,tb_battinf.stationName2,tb_battinf.stationName3, " +
|
| | | " from web_site.tb_battmap_information,db_battinf.tb_battinf " +
|
| | | " where tb_battmap_information.StationId=db_battinf.tb_battinf.StationId " +
|
| | | " and tb_battmap_information.StationId in (" +
|
| | |
| | | binformation.setNum(rs.getInt("num"));
|
| | | binformation.setStationId(rs.getString("stationId"));
|
| | | binformation.setStationName(rs.getString("stationName"));
|
| | | binformation.setStationName1(rs.getString("stationName1"));
|
| | | binformation.setStationName2(rs.getString("stationName2"));
|
| | | binformation.setStationName3(rs.getString("stationName3"));
|
| | | binformation.setAddress(rs.getString("address"));
|
| | | binformation.setLongitude(rs.getDouble("longitude"));
|
| | | binformation.setLatitude(rs.getDouble("latitude"));
|
| | |
| | | private String information; //备注
|
| | | private Integer FBSDeviceId; //设备id
|
| | | private Page page;
|
| | | private String stationName1;
|
| | | private String stationName2;
|
| | | private String stationName3;
|
| | | public BattMap_information() {
|
| | | super();
|
| | |
|
| | |
| | | + ", StationName=" + StationName + ", Address=" + Address
|
| | | + ", longitude=" + longitude + ", latitude=" + latitude
|
| | | + ", information=" + information + ", FBSDeviceId="
|
| | | + FBSDeviceId + ", page=" + page + "]";
|
| | | + FBSDeviceId + ", page=" + page + ", stationName1="
|
| | | + stationName1 + ", stationName2=" + stationName2
|
| | | + ", stationName3=" + stationName3 + "]";
|
| | | }
|
| | |
|
| | |
|
| | | public String getStationName1() {
|
| | | return stationName1;
|
| | | }
|
| | |
|
| | |
|
| | | public void setStationName1(String stationName1) {
|
| | | this.stationName1 = stationName1;
|
| | | }
|
| | |
|
| | |
|
| | | public String getStationName2() {
|
| | | return stationName2;
|
| | | }
|
| | |
|
| | |
|
| | | public void setStationName2(String stationName2) {
|
| | | this.stationName2 = stationName2;
|
| | | }
|
| | |
|
| | |
|
| | | public String getStationName3() {
|
| | | return stationName3;
|
| | | }
|
| | |
|
| | |
|
| | | public void setStationName3(String stationName3) {
|
| | | this.stationName3 = stationName3;
|
| | | }
|
| | |
|
| | |
|
| | | |
| | |
|
| | |
|
| | |
|