|
@@ -97,8 +97,8 @@ public class ParseSchedulerTask {
|
|
long start = System.currentTimeMillis();
|
|
long start = System.currentTimeMillis();
|
|
Date now = new Date();
|
|
Date now = new Date();
|
|
try {
|
|
try {
|
|
- // 尽可能往前找20分钟覆盖可能遗漏的邮件
|
|
|
|
- Date startTime = DateUtil.offsetMinute(task.getStartTime(), -20);
|
|
|
|
|
|
+ // 尽可能往前找60分钟覆盖可能遗漏的邮件
|
|
|
|
+ Date startTime = DateUtil.offsetMinute(task.getStartTime(), -60);
|
|
// 定期报告从 我的文件夹.报告公告 文件夹获取邮件
|
|
// 定期报告从 我的文件夹.报告公告 文件夹获取邮件
|
|
this.emailParseApiService.parseEmail(startTime, now,
|
|
this.emailParseApiService.parseEmail(startTime, now,
|
|
ListUtil.of("其他文件夹/报告公告"), EmailTypeConst.REPORT_EMAIL_TYPES);
|
|
ListUtil.of("其他文件夹/报告公告"), EmailTypeConst.REPORT_EMAIL_TYPES);
|