|
|
@ -154,7 +154,7 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler { |
|
|
|
ForgeManager.vendorWorkOrderLookup.get(vendor).remove(workOrder); |
|
|
|
ForgeManager.vendorWorkOrderLookup.get(vendor).remove(workOrder); |
|
|
|
DbManager.WarehouseQueries.DELETE_WORKORDER(workOrder); |
|
|
|
DbManager.WarehouseQueries.DELETE_WORKORDER(workOrder); |
|
|
|
} else |
|
|
|
} else |
|
|
|
DbManager.WarehouseQueries.UPDATE_WORKORDER(workOrder); |
|
|
|
DbManager.WarehouseQueries.WRITE_WORKORDER(workOrder); |
|
|
|
|
|
|
|
|
|
|
|
// Persist item and add to vendor inventory
|
|
|
|
// Persist item and add to vendor inventory
|
|
|
|
|
|
|
|
|
|
|
@ -433,7 +433,7 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler { |
|
|
|
ForgeManager.vendorWorkOrderLookup.get(vendor).remove(workOrder); |
|
|
|
ForgeManager.vendorWorkOrderLookup.get(vendor).remove(workOrder); |
|
|
|
DbManager.WarehouseQueries.DELETE_WORKORDER(workOrder); |
|
|
|
DbManager.WarehouseQueries.DELETE_WORKORDER(workOrder); |
|
|
|
} else |
|
|
|
} else |
|
|
|
DbManager.WarehouseQueries.UPDATE_WORKORDER(workOrder); |
|
|
|
DbManager.WarehouseQueries.WRITE_WORKORDER(workOrder); |
|
|
|
|
|
|
|
|
|
|
|
// Refresh vendor's inventory to client
|
|
|
|
// Refresh vendor's inventory to client
|
|
|
|
|
|
|
|
|
|
|
|