|
|
|
@ -45,6 +45,7 @@ class StatisticSchoolDailyReport1Task
|
|
|
|
|
shixun_homework_count: shixun_homework_count, shixun_evaluate_count: shixun_evaluate_count,
|
|
|
|
|
shixun_increase_count: shixun_count, active_user_count: active_user_count, date: current_date
|
|
|
|
|
}
|
|
|
|
|
SchoolDailyReport.where(school_id: school.id).where(date: current_date).destroy_all
|
|
|
|
|
report = SchoolDailyReport.create!(create_params)
|
|
|
|
|
|
|
|
|
|
if active_user_ids.present?
|
|
|
|
|