yjwang 1 месяц назад
Родитель
Сommit
de8b9cdd77

+ 2 - 2
fs-service/src/main/resources/mapper/course/FsCourseWatchLogMapper.xml

@@ -1542,8 +1542,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         a.totalStudents,
         a.completedCount,
         ROUND((a.completedCount / a.totalStudents) * 100, 2) AS actualCompletionRate,
-        ROUND((a.totalViewingDuration / a.totalStudents) / 60, 2) AS avgWatchDurationMinutes,
-        ROUND((a.totalDurationOfCompleters/a.completedCount)/60,2) AS avgCompletedDuration,
+        ROUND((a.totalViewingDuration / a.totalStudents), 2) AS avgWatchDurationMinutes,
+        ROUND((a.totalDurationOfCompleters/a.completedCount),2) AS avgCompletedDuration,
         ROUND(((a.totalDurationOfCompleters/a.completedCount)/a.duration) * 100,2) AS avgCompletionPlaybackRate
         FROM
         (