From a259a4625684c20732eb48bf00e53bf5cc54a6c3 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Tue, 14 Jan 2020 17:21:00 +0800 Subject: [PATCH] 1 --- lib/tasks/statistic_subject_info.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/statistic_subject_info.rake b/lib/tasks/statistic_subject_info.rake index d9591c065..0385e3b5a 100644 --- a/lib/tasks/statistic_subject_info.rake +++ b/lib/tasks/statistic_subject_info.rake @@ -117,7 +117,7 @@ namespace :subjects do task user_info_statistic: :environment do puts("---------------------user_info_statistic_begin") Rails.logger.info("---------------------user_info_statistic_begin") - subjects = Subject.where(status: 2, id: 211) + subjects = Subject.where(status: 2) str = "" buffer_size = 0 column_value = "user_id, subject_id, username, passed_myshixun_count, passed_games_count, " +