|
|
|
@ -109,8 +109,8 @@ public class dbWarehouseHandler extends dbHandlerBase {
@@ -109,8 +109,8 @@ public class dbWarehouseHandler extends dbHandlerBase {
|
|
|
|
|
ResultSet rs = preparedStatement.executeQuery()) { |
|
|
|
|
|
|
|
|
|
while (rs.next()) { |
|
|
|
|
int cityUID = rs.getInt("cityUID"); |
|
|
|
|
JSONObject jsonObject = (JSONObject) jsonParser.parse(rs.getString("template")); |
|
|
|
|
int cityUID = rs.getInt("cityUUID"); |
|
|
|
|
JSONObject jsonObject = (JSONObject) jsonParser.parse(rs.getString("warehouse")); |
|
|
|
|
City city = City.getCity(cityUID); |
|
|
|
|
city.warehouse = new Warehouse(jsonObject); |
|
|
|
|
} |
|
|
|
|