竞赛总数问题

dev_aliyun
daiao 5 years ago
parent 8fac4d57b9
commit 5937497a1c

@ -54,7 +54,7 @@
<% else %>
<% @courses.each do |course| %>
<%
total_members_count += course.members_count.to_i
total_members_count += course.students.count
total_shixun_homework_count += course['shixun_homework_count'].to_i
score = 500 + 5 * @course_shixun_count_map.fetch(course.id, 0) * @course_myshixun_map.fetch(course.id, 0)

Loading…
Cancel
Save