Ver Fonte

fix: 同步H5看课统计表-修复bug

caoliqin há 1 mês atrás
pai
commit
bf51e1df7f

+ 1 - 1
fs-service/src/main/resources/mapper/store/FsUserCourseCountMapper.xml

@@ -160,7 +160,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             fs_course_watch_log fwl
         where fwl.send_type = 1 and fwl.create_time >= DATE_SUB(CURDATE(), INTERVAL 7 DAY)
         GROUP BY
-            fwl.user_id
+            fwl.user_id, date(fwl.create_time)
     </select>
 
     <select id="getUserStatusAndLastWatchDate" resultType="FsUserCourseCount">