浏览代码

短信提醒功能:发送短信提醒代码,

jingyuanchao 1 年之前
父节点
当前提交
8b2fb81037

+ 1 - 0
soc-modules/soc-modules-core/src/main/java/com/xunmei/core/reminder/service/impl/CoreReminderScheduleServiceImpl.java

@@ -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);