|
|
|
@ -33,9 +33,9 @@ class CompetitionTeamsController < ApplicationController
|
|
|
|
|
@forked_myshixun_count_map.each { |k, v| @myshixun_count_map[forked_shixun_map[k]] += v }
|
|
|
|
|
|
|
|
|
|
@course_count_map = get_valid_course_count(shixun_ids)
|
|
|
|
|
forked_map = get_valid_course_count(forked_shixun_map.keys)
|
|
|
|
|
@forked_map = get_valid_course_count(forked_shixun_map.keys)
|
|
|
|
|
@forked_course_count_map = {}
|
|
|
|
|
forked_map.each do |forked_id, course_count|
|
|
|
|
|
@forked_map.each do |forked_id, course_count|
|
|
|
|
|
@forked_course_count_map[forked_shixun_map[forked_id]] ||= 0
|
|
|
|
|
@forked_course_count_map[forked_shixun_map[forked_id]] += course_count
|
|
|
|
|
end
|
|
|
|
|