소스 검색

selectVideoByJobId

三七 5 일 전
부모
커밋
d0b8059d93
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      fs-service/src/main/java/com/fs/course/mapper/FsUserCourseVideoMapper.java

+ 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")