Adjustreact
daiao 5 years ago
parent 8d5c1dd962
commit 4a7eeb8c90

@ -17,7 +17,7 @@ namespace :subjects do
Rails.logger.info("---------------------data_statistic: #{subject.id}")
data = Subjects::DataStatisticService.new(subject)
study_count = data.study_count
next if study_count == 0
#next if study_count == 0
course_study_count = data.course_study_count
initiative_study = study_count - course_study_count
str << ("(#{subject.id}, #{study_count}, #{course_study_count}, #{initiative_study}, " +

Loading…
Cancel
Save