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