Commit 4e4087d6 authored by liuyuanjun's avatar liuyuanjun

改回去

parent b4554f04
...@@ -88,7 +88,10 @@ public interface BChapterRepository extends BaseMapper<BChapter> { ...@@ -88,7 +88,10 @@ public interface BChapterRepository extends BaseMapper<BChapter> {
" bf.file_name AS fileName ," + " bf.file_name AS fileName ," +
" bf.file_time AS fileTime ," + " bf.file_time AS fileTime ," +
" bf.file_size AS fileSize ," + " bf.file_size AS fileSize ," +
" if((SELECT count(0) from b_file bff where bff.video_url = bf.video_url and bff.lesson_id = #{lessonId})>1,1,0) isCutPdf " + " if((SELECT count(0) from b_file bbf\n" +
" left join b_lesson bl on bl.business_id = bbf.lesson_id\n" +
" where bbf.video_url = bf.video_url\n" +
" and bl.corp_id != '###')>1,1,0) isCutPdf " +
" FROM " + " FROM " +
" b_chapter bc " + " b_chapter bc " +
" LEFT JOIN b_file bf ON bf.chapter_id = bc.business_id " + " LEFT JOIN b_file bf ON bf.chapter_id = bc.business_id " +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment