7172737475767778798081
public Floor findFloorById(String floorId) { Connection con = null; PreparedStatement ps = null; ResultSet rs = null; Floor vo = null; String sqlStr = "select * from FLOORS where ID = ? order by NAME"; try { //get connection con = getConnection();
107108109110111112113114115116117118
} @Override protected Floor map2VO(ResultSet rs) throws SQLException { Floor floor = new Floor(); floor.setId(rs.getString("id")); floor.setImage(rs.getString("image")); floor.setName(rs.getString("name")); return floor; }