|
|
@ -117,7 +117,7 @@ namespace :subjects do
|
|
|
|
task user_info_statistic: :environment do
|
|
|
|
task user_info_statistic: :environment do
|
|
|
|
puts("---------------------user_info_statistic_begin")
|
|
|
|
puts("---------------------user_info_statistic_begin")
|
|
|
|
Rails.logger.info("---------------------user_info_statistic_begin")
|
|
|
|
Rails.logger.info("---------------------user_info_statistic_begin")
|
|
|
|
subjects = Subject.where(status: 2, id: 211)
|
|
|
|
subjects = Subject.where(status: 2)
|
|
|
|
str = ""
|
|
|
|
str = ""
|
|
|
|
buffer_size = 0
|
|
|
|
buffer_size = 0
|
|
|
|
column_value = "user_id, subject_id, username, passed_myshixun_count, passed_games_count, " +
|
|
|
|
column_value = "user_id, subject_id, username, passed_myshixun_count, passed_games_count, " +
|
|
|
|