调分的调整

dev_aliyun_beta
cxt 6 years ago
parent b00766cd15
commit 21c71f92ab

@ -298,6 +298,9 @@ class HomeworksService
else
0
end
else
adjust_score = work.challenge_work_scores.select{|work_score| work_score.challenge_id == game.challenge_id}.last
final_score += adjust_score.score if adjust_score.present?
end
end

Loading…
Cancel
Save