dev_forum
SylorHuang 6 years ago
parent 863dad51b1
commit 4122ccf438

@ -638,6 +638,9 @@ module ExercisesHelper
if student_status == 2 #当前为老师,或为学生且已提交
user_score = exercise_answers.score_reviewed.pluck(:score).sum
end
if user_score > q.question_score
user_score = q.question_score
end
if ques_type <= 2
answered_content = exercise_answers.pluck(:exercise_choice_id)
elsif ques_type == 3

Loading…
Cancel
Save