|
@@ -761,7 +761,12 @@ public interface FsCourseWatchLogMapper extends BaseMapper<FsCourseWatchLog> {
|
|
|
|
|
|
|
|
List<FsSopMyCourseH5LinkVO> getSopCourseH5StudyListByQwExId(@Param("qwExternalId") Long qwExternalId);
|
|
List<FsSopMyCourseH5LinkVO> getSopCourseH5StudyListByQwExId(@Param("qwExternalId") Long qwExternalId);
|
|
|
|
|
|
|
|
- @Select("select * from fs_course_watch_log where user_id=#{param.fsUserId} and company_user_id=#{param.companyUserId} and course_id=#{param.courseId} and video_id=#{param.videoId} and project=#{param.projectId} and period_id=#{param.periodId} limit 1")
|
|
|
|
|
|
|
+ @Select("<script>" +
|
|
|
|
|
+ "select * from fs_course_watch_log where user_id=#{param.fsUserId} and company_user_id=#{param.companyUserId} and course_id=#{param.courseId} and video_id=#{param.videoId} " +
|
|
|
|
|
+ "<if test='param.projectId != null'>and project=#{param.projectId} </if>" +
|
|
|
|
|
+ "<if test='param.periodId != null'>and period_id=#{param.periodId} </if>" +
|
|
|
|
|
+ "limit 1" +
|
|
|
|
|
+ "</script>")
|
|
|
FsCourseWatchLog selectFsCourseWatchLogWithUCCV(@Param("param") FsUserCourseVideoRemainTimeParam param);
|
|
FsCourseWatchLog selectFsCourseWatchLogWithUCCV(@Param("param") FsUserCourseVideoRemainTimeParam param);
|
|
|
|
|
|
|
|
/**
|
|
/**
|