issue-86 #102
@ -231,7 +231,8 @@ public class TaskScheduleService {
|
||||
Iterable<AdvancedTaskSchedule> allSchedules = advancedScheduleRepository.findAll();
|
||||
List<AdvancedTaskSchedule> schedulesToday = new ArrayList<>();
|
||||
for(AdvancedTaskSchedule advancedTaskSchedule : allSchedules) {
|
||||
if(advancedTaskSchedule.getScheduleStart().toLocalDate().equals(date)) {
|
||||
if(advancedTaskSchedule.getScheduleStart().toLocalDate().equals(date) && advancedTaskSchedule.getStartTime() == null &&
|
||||
advancedTaskSchedule.getScheduleStart().isBefore(LocalDateTime.now())) {
|
||||
schedulesToday.add(advancedTaskSchedule);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user