import com.google.gson.reflect.TypeToken;


//todo 将A类型的列表数据转化为B类型的列表数据
Gson gson = new Gson();
String json = gson.toJson(rooms);
List<RoomlistForHBVO> roomlistForHBVO = gson.fromJson(json, new TypeToken<List<RoomlistForHBVO>>(){}.getType());
response.setRecords(roomlistForHBVO);