Browse Source

selectVideoByJobId

三七 3 days ago
parent
commit
d0b8059d93

+ 1 - 1
fs-service/src/main/java/com/fs/course/mapper/FsUserCourseVideoMapper.java

@@ -269,7 +269,7 @@ public interface FsUserCourseVideoMapper extends BaseMapper<FsUserCourseVideo> {
     @Select("select * from fs_user_course_video where line_two is not null and job_id is null")
     List<FsUserCourseVideo> selectVideoByHuaWei();
 
-    @Select("select * from fs_user_course_video where job_id is not null and vid is null")
+    @Select("select * from fs_user_course_video where job_id is not null and  (vid is null or vid='')")
     List<FsUserCourseVideo> selectVideoByJobId();
 
     @Select("select * from fs_user_course_video where vid is not null")