diff --git a/src/main/java/com/subsidy/jobs/RenSheJuJob.java b/src/main/java/com/subsidy/jobs/RenSheJuJob.java index b298019..9fc059d 100644 --- a/src/main/java/com/subsidy/jobs/RenSheJuJob.java +++ b/src/main/java/com/subsidy/jobs/RenSheJuJob.java @@ -140,7 +140,7 @@ public class RenSheJuJob { } - @Scheduled(cron = "0 50 23 * * ?") + @Scheduled(cron = "0 40 23 * * ?") @Transactional(rollbackFor = Exception.class) public void cancelLogin() { diff --git a/src/main/java/com/subsidy/jobs/WarningJob.java b/src/main/java/com/subsidy/jobs/WarningJob.java index 0e4d548..22604d7 100644 --- a/src/main/java/com/subsidy/jobs/WarningJob.java +++ b/src/main/java/com/subsidy/jobs/WarningJob.java @@ -41,7 +41,7 @@ public class WarningJob { /** * POST-2:班级基本信息信息采集接口 */ - @Scheduled(cron = "0 0 21 * * ?") + @Scheduled(cron = "0 0 23 * * ?") public void classBaseInfo() throws IOException { if ("prod".equals(env)) { diff --git a/src/main/java/com/subsidy/service/impl/CourseContentServiceImpl.java b/src/main/java/com/subsidy/service/impl/CourseContentServiceImpl.java index 98c1c87..07df25f 100644 --- a/src/main/java/com/subsidy/service/impl/CourseContentServiceImpl.java +++ b/src/main/java/com/subsidy/service/impl/CourseContentServiceImpl.java @@ -115,7 +115,7 @@ public class CourseContentServiceImpl extends ServiceImpl { x.setTotalLength(totalLengthTmp); x.setTotalMinute(totalMinute); diff --git a/src/main/java/com/subsidy/service/impl/RenSheJuServiceImpl.java b/src/main/java/com/subsidy/service/impl/RenSheJuServiceImpl.java index c0e5b28..9ae202f 100644 --- a/src/main/java/com/subsidy/service/impl/RenSheJuServiceImpl.java +++ b/src/main/java/com/subsidy/service/impl/RenSheJuServiceImpl.java @@ -189,8 +189,8 @@ public class RenSheJuServiceImpl implements RenSheJuService { List chapterList3s = renSheJuMapper.dailyStudyRecords(dailyStudyInfoVO.getMemberId(), dailyStudyInfoVO.getDownCode(), loginRecords.get(i).getCreateDate().toString().replace("T", " "), loginOutRecords.get(i).getCreateDate().toString().replace("T", " ")); if (chapterList3s.size() > 0) { loginList.setChapterList(chapterList3s); - loginLists.add(loginList); } + loginLists.add(loginList); } classHourBasic.setLoginList(loginLists);