导出excel报错

courseware
daiao 5 years ago
parent 5abe8b3589
commit de86a7ed04

@ -17,7 +17,7 @@ wb.styles do |s|
get_attachment_count(course, 0), get_attachment_count(course, 0),
course.informs.size, course.informs.size,
course.course_videos.size, course.course_videos.size,
course.course_videos.map{|cv| cv.watch_course_videos.map(&:total_duration).sum }.sum course.course_videos.map{|cv| cv.watch_course_videos.map(&:total_duration).sum }.sum,
course.live_links.size, course.live_links.size,
course.course_homework_count("normal"), course.course_homework_count("normal"),
course.course_homework_count("group"), course.course_homework_count("group"),

Loading…
Cancel
Save