|
|
@ -54,7 +54,7 @@
|
|
|
|
<% else %>
|
|
|
|
<% else %>
|
|
|
|
<% @courses.each do |course| %>
|
|
|
|
<% @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
|
|
|
|
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)
|
|
|
|
score = 500 + 5 * @course_shixun_count_map.fetch(course.id, 0) * @course_myshixun_map.fetch(course.id, 0)
|
|
|
|