修改考试

This commit is contained in:
zhaolongfei
2024-05-28 18:28:08 +08:00
parent de0ff38302
commit 33b0057c5e

View File

@@ -128,7 +128,7 @@ public class StudyExamServiceImpl implements IStudyExamService{
scItemDao.updateFieldById(exam.getStudyId(), "progress",100.0f);
scItemDao.updateFieldById(exam.getStudyId(), "finish_time",LocalDateTime.now());
scItemDao.updateFieldById(exam.getStudyId(), "status",StudyCourseItem.STATUS_FINISH);
scItemDao.updateFieldById(exam.getStudyId(), "score",exam.getPassLine());
scItemDao.updateFieldById(exam.getStudyId(), "score",100.0f);
}
}
List<StudyCourse> allUserList = thirdApi.getStudyCourseList(exam.getStudyId() ,exam.getCourseId(), token);