Merge branch 'master-20250227-lyc' into test

This commit is contained in:
joshen
2025-03-13 10:04:24 +08:00
2 changed files with 10 additions and 5 deletions

View File

@@ -107,13 +107,17 @@ public class AloneExamServiceImpl implements IAloneExamService{
// } // }
} }
ExamStudyRecordParam param = new ExamStudyRecordParam(); try {
param.setTestId(aea.getTestId()); ExamStudyRecordParam param = new ExamStudyRecordParam();
param.setAid(aea.getAid()); param.setTestId(aea.getTestId());
thirdApi.syncExamStudyRecord(param); param.setAid(aea.getAid());
thirdApi.syncExamStudyRecord(param);
} catch (Exception e) {
throw new RuntimeException(e);
}
} }
@Override @Override
@Transactional @Transactional

View File

@@ -50,6 +50,7 @@ public class StudyCourseTask {
// 5. 过滤条件:剩余时间 >= 29天23小时30分钟转换为秒 // 5. 过滤条件:剩余时间 >= 29天23小时30分钟转换为秒
// 总需时间 = (30天 - 30分钟) = 29天23小时30分钟 = 2590200秒 // 总需时间 = (30天 - 30分钟) = 29天23小时30分钟 = 2590200秒
// 5分钟 300秒 || 2592000 - 300 = 2591700
if (ttl <= 2590200) { if (ttl <= 2590200) {
try { try {
// 6. 提取studyContentId // 6. 提取studyContentId