| | |
| | | List list=DAOHelper.executeQuery(sql, DBUtil.getConn(), new Object[]{binformation.getStationId()}, new BattMap_informationImpl());
|
| | | return list;
|
| | | }
|
| | | |
| | | //地图上根据机房名称查询经纬度
|
| | | public List serchTudeByStationName(Object obj){
|
| | | BattMap_information binformation=(BattMap_information) obj;
|
| | | String sql="select num, StationId,StationName,address,longitude,latitude,information from web_site.tb_battmap_information " +
|
| | | " where StationName like ?";
|
| | | List list=DAOHelper.executeQuery(sql, DBUtil.getConn(), new Object[]{binformation.getStationName()}, new BattMap_informationImpl());
|
| | | return list;
|
| | | }
|
| | | public static void main(String[] args) {
|
| | | BattMap_informationImpl bimpl=new BattMap_informationImpl();
|
| | | Batt_Maint_Dealarm bmd=new Batt_Maint_Dealarm();
|