| | |
| | | binformation.getAddress(),binformation.getLongitude(),binformation.getLatitude()});
|
| | | return bl;
|
| | | }
|
| | |
|
| | | //9.1录入机房信息(手机端)
|
| | | public boolean replace(Object obj) {
|
| | | BattMap_information binformation=(BattMap_information) obj;
|
| | | String sql="replace into web_site.tb_battmap_information(StationId,StationName,address,longitude,latitude) values(?,?,?,?,?)";
|
| | | Boolean bl=DAOHelper.executeUpdate(DBUtil.getConn(), sql, new Object[]{binformation.getStationId(),binformation.getStationName(),
|
| | | binformation.getAddress(),binformation.getLongitude(),binformation.getLatitude()});
|
| | | return bl;
|
| | | }
|
| | | public boolean update(Object obj) {
|
| | | BattMap_information binformation=(BattMap_information) obj;
|
| | | String sql="update web_site.tb_battmap_information set StationId=?,StationName=?,address=?,longitude=?,latitude=?,information=? where num=?";
|