|
|
|
@ -511,7 +511,7 @@ module ExercisesHelper
|
|
|
|
|
exercise_user_id = ex_user_user.id
|
|
|
|
|
ex_user_exercise_status = exercise.get_exercise_status(ex_user_user)
|
|
|
|
|
ex_user_student_id = ex_user_user.student_id
|
|
|
|
|
if ex_user.start_at.present? && ex_user.commit_status == 0 #用户已回答,但未提交
|
|
|
|
|
if ex_user.start_at.present? && (ex_user.commit_status == 0) #用户已回答,但未提交
|
|
|
|
|
commit_status = 2 #继续答题
|
|
|
|
|
else
|
|
|
|
|
commit_status = ex_user.commit_status
|
|
|
|
|