|
|
@ -212,12 +212,8 @@ public class dbWarehouseHandler extends dbHandlerBase { |
|
|
|
for (WorkOrder workOrder : submitList) { |
|
|
|
for (WorkOrder workOrder : submitList) { |
|
|
|
workOrder.workOrderID = ForgeManager.workOrderCounter.incrementAndGet(); |
|
|
|
workOrder.workOrderID = ForgeManager.workOrderCounter.incrementAndGet(); |
|
|
|
ForgeManager.vendorWorkOrderLookup.get(workOrder.vendor).add(workOrder); |
|
|
|
ForgeManager.vendorWorkOrderLookup.get(workOrder.vendor).add(workOrder); |
|
|
|
|
|
|
|
ForgeManager.forge.add(workOrder); |
|
|
|
// If workorder is not yet complete process it
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (workOrder.runCompleted == false) |
|
|
|
|
|
|
|
ForgeManager.forge.add(workOrder); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|