From de86a7ed04e6ac67b887fac5ed7c04271e312fd2 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Wed, 18 Mar 2020 21:16:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=87=BAexcel=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/admins/courses/index.xlsx.axlsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admins/courses/index.xlsx.axlsx b/app/views/admins/courses/index.xlsx.axlsx index 28c48c188..fb07e1dab 100644 --- a/app/views/admins/courses/index.xlsx.axlsx +++ b/app/views/admins/courses/index.xlsx.axlsx @@ -17,7 +17,7 @@ wb.styles do |s| get_attachment_count(course, 0), course.informs.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.course_homework_count("normal"), course.course_homework_count("group"),