删除注解

ecloud_sso
daiao 5 years ago
parent 75870ba4d9
commit bb5297522d

@ -44,7 +44,6 @@ class Admins::SchoolDailyStatisticService < ApplicationService
courses = Course.where(is_delete: 0, school_id: ids).group('school_id')
course_map = courses.count
Rails.logger.info("####courses_daiao: #{courses.inspect}")
nearly_course_time_map = courses.joins(:course_activities).maximum('course_activities.updated_at')
active_course_map = courses.where(is_end: false).count

Loading…
Cancel
Save