|
|
@ -61,7 +61,7 @@ public enum MaintenanceManager { |
|
|
|
if(tol == null) |
|
|
|
if(tol == null) |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
|
|
|
|
|
|
|
|
if(tol.maintDateTime.toLocalDate().equals(LocalDateTime.now().toLocalDate())){ |
|
|
|
if(tol.maintDateTime.toLocalDate().equals(LocalDateTime.now().toLocalDate()) || LocalDateTime.now().toLocalDate().isAfter(tol.maintDateTime.toLocalDate())){ |
|
|
|
// today is maintenance day
|
|
|
|
// today is maintenance day
|
|
|
|
processTolMaintenance(tol, city.getWarehouse()); |
|
|
|
processTolMaintenance(tol, city.getWarehouse()); |
|
|
|
} |
|
|
|
} |
|
|
|