dev_hs
SylorHuang 6 years ago
parent b78ca0a999
commit 60a7288906

@ -368,6 +368,7 @@ class ExerciseQuestionsController < ApplicationController
total_score = objective_score + update_objective_score + total_score_subjective_score
ex_user.update_attributes(objective_score:objective_score,score:total_score)
end
Rails.logger.info("#####_________ex_user.score___________##############{ex_user.score}")
# user = ex_user.user
# objective_score = calculate_student_score(@exercise,user)[:total_score]
end

Loading…
Cancel
Save