xdd 2 天之前
父节点
当前提交
f07cac6beb
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      fs-service/src/main/resources/mapper/course/FsUserCourseVideoMapper.xml

+ 1 - 0
fs-service/src/main/resources/mapper/course/FsUserCourseVideoMapper.xml

@@ -367,6 +367,7 @@
         where course.is_del = 0 and video.video_id = #{videoId}
          and fcp.period_id = #{periodId}
         and fcpd.del_flag = 0 and video.is_del = 0 and fcp.del_flag = '0' and c.del_flag = '0'
+        limit 1
     </select>
 
     <select id="selectFsUserCourseVideoByVideoIdAndUserId" resultMap="FsUserCourseVideoResult">