From 476f095256f4744b4d4981e03445b2c927977796 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Wed, 18 Mar 2020 21:22:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=82=E7=9C=8B=E6=97=B6=E9=95=BF=E5=8E=BB?= =?UTF-8?q?=E9=99=A4=E5=B0=8F=E6=95=B0?= 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 934ca845c..a276fe470 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.round, course.live_links.size, course.course_homework_count("normal"), course.course_homework_count("group"),