|
|
@@ -1240,9 +1240,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
select c.course_name courseName,c.img_url imgUrl,r.title videoName,l.link_id linkId,l.duration,l.video_id videoId,l.user_id userId,l.company_user_id companyUserId from fs_course_watch_log l
|
|
|
left join fs_user_course c on l.course_id =c.course_id
|
|
|
left join fs_user_course_video r on r.video_id=l.video_id
|
|
|
- WHERE l.user_id = #{userId}
|
|
|
- and l.create_time >= CONCAT(CURDATE(), ' 00:00:00')
|
|
|
- and l.create_time <= CONCAT(CURDATE(), ' 23:59:59')
|
|
|
+ WHERE l.user_id = #{userId} and l.update_time is not null
|
|
|
order by l.update_time DESC LIMIT 1
|
|
|
</select>
|
|
|
|