浏览代码

开始录制完善

tags/正式3.10.2
雍文秀 1年前
父节点
当前提交
6623cd0150
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      slive/src/main/resources/mapper/recordserver/RecordserverMapper.xml

+ 1
- 1
slive/src/main/resources/mapper/recordserver/RecordserverMapper.xml 查看文件

@@ -39,7 +39,7 @@
39 39
         ,(r.rsmaxnum-count(distinct case when cs.sectionid is not null then cs.sectionid else null end))synum
40 40
         from l_recordserver r left join l_course_section_playback csp on r.rsid=csp.rsid
41 41
         left join l_course_section cs on csp.sectionid=cs.sectionid and cs.sectionstate=2
42
-        where r.rsstate=1 group by r.rsid having synum!=0)r order by synum desc,rand() limit 1
42
+        where r.rsstate=1 group by r.rsid having synum>0)r order by synum desc,rand() limit 1
43 43
     </select>
44 44
     <!--根据录制服务id获取地址-->
45 45
     <select id="getPathById" resultType="java.lang.String">

正在加载...
取消
保存