mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-16 22:36:50 +08:00
Merge branch 'master-20250227-lyc' into test
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user