|
|
@ -45,7 +45,7 @@ public class dbWarehouseHandler extends dbHandlerBase { |
|
|
|
list.add(building); |
|
|
|
list.add(building); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case "warehouse": |
|
|
|
case "warehouse": |
|
|
|
Warehouse warehouse = new Warehouse(rs, depositQueItem); |
|
|
|
Warehouse warehouse = new Warehouse(rs); |
|
|
|
DbManager.addToCache(warehouse); |
|
|
|
DbManager.addToCache(warehouse); |
|
|
|
list.add(warehouse); |
|
|
|
list.add(warehouse); |
|
|
|
break; |
|
|
|
break; |
|
|
@ -543,7 +543,7 @@ public class dbWarehouseHandler extends dbHandlerBase { |
|
|
|
ResultSet rs = preparedStatement.executeQuery(); |
|
|
|
ResultSet rs = preparedStatement.executeQuery(); |
|
|
|
|
|
|
|
|
|
|
|
while (rs.next()) { |
|
|
|
while (rs.next()) { |
|
|
|
warehouse = new Warehouse(rs, depositQueItem); |
|
|
|
warehouse = new Warehouse(rs); |
|
|
|
warehouse.runAfterLoad(); |
|
|
|
warehouse.runAfterLoad(); |
|
|
|
warehouse.loadAllTransactions(); |
|
|
|
warehouse.loadAllTransactions(); |
|
|
|
} |
|
|
|
} |
|
|
|