|
|
@@ -112,6 +112,7 @@ public class CoreReminderScheduleServiceImpl extends ServiceImpl<CoreReminderSch
|
|
|
continue;
|
|
|
}
|
|
|
List<String> allResumptopnIdList = scheduleList.stream().map(CoreReminderSchedule::getTaskId).distinct().collect(Collectors.toList());
|
|
|
+ //TODO 考虑临期提醒配置为计划结束时间, 但是任务提前完成的情况
|
|
|
List<String> exitResumptionIdList = resumptionTaskBusiness.checkTaskExit(allResumptopnIdList);
|
|
|
scheduleList.removeIf(schedule1 -> !exitResumptionIdList.contains(schedule1.getTaskId()));
|
|
|
reallyScheduleList.addAll(scheduleList);
|