成长路径图,去除导入同步

This commit is contained in:
yang
2024-07-10 08:51:24 +08:00
parent 9a83f64e38
commit 0ac6622526

View File

@@ -540,18 +540,6 @@ public class AloneExamServiceImpl implements IAloneExamService{
}
}
CompletableFuture.supplyAsync(() -> {
if (aloneExam.getRefType().equals("14")){
thirdApi.syncExamScoreToCourseSuite(aloneExam, finalToken);
}
return "完成结果";
}).exceptionally(ex -> {
log.error("异步操作中发生错误: " + ex.getMessage(), ex);
return "发生错误";
}).thenAccept(result -> {
log.info("同步考试成绩到课程项目完成:" + result);
});
// 提交事务
transactionManager.commit(status);
} catch (Exception e) {