导出试卷成绩

competitions
cxt 5 years ago
parent 6e639d5ac7
commit c41e066f83

@ -344,9 +344,9 @@ module ExportHelper
ques_score = 0.0
end
else
ques_score = answers_content.select{|answer| answer.score >= 0.0}.select(:score).pluck(:score).sum
ques_score = answers_content.select{|answer| answer.score >= 0.0}.pluck(:score).sum
end
score_option.push(ques_score)
score_option << ques_score
end
user_option = user_option + other_user_option + score_option + time_option

Loading…
Cancel
Save