|
|
@@ -62,7 +62,7 @@ public class QuizStudentAnswerServiceImpl implements QuizStudentAnswerService {
|
|
|
QuizStudentAnswer quizStudentAnswer = quizStudentAnswerDAO.findByQuizAndStudent(quiz, student).orElse(new QuizStudentAnswer());
|
|
|
|
|
|
if (quizStudentAnswer.getSubmitNumber() >= quiz.getMaxSubmitNumber()) {
|
|
|
- throw HelperException.of(ExceptionType.FORBIDDEN, String.format("已达最大提交次数%d次,无法再提交", quiz.getMaxSubmitNumber()));
|
|
|
+ throw HelperException.of(ExceptionType.FORBIDDEN, String.format("已达最大提交次数%d次,无法再提交", quiz.getMaxSubmitNumber()));
|
|
|
}
|
|
|
|
|
|
// 计算得分
|