|
|
@@ -46,7 +46,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
a.flv_hls_url, a.create_time, a.create_by, a.update_by, a.update_time, a.remark,config_json, b.video_url from live
|
|
|
a
|
|
|
left join live_video b on a.live_id = b.live_id
|
|
|
- where 1=1 and is_del = 0 and is_show = 1 and status in (2,4) and b.video_type = 1
|
|
|
+ where 1=1 and is_del = 0 and is_show = 1 and status in (2,4) and b.video_type in (1,2)
|
|
|
|
|
|
order by create_time desc
|
|
|
</select>
|
|
|
@@ -62,7 +62,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
left join live_company_code c on a.live_id = c.live_id
|
|
|
and c.company_id = #{companyId}
|
|
|
and c.company_user_id = #{companyUserId}
|
|
|
- where 1=1 and is_del = 0 and b.video_type = 1
|
|
|
+ where 1=1 and is_del = 0 and b.video_type in (1,2)
|
|
|
<if test="companyId != null "> and (a.company_id = #{companyId} or a.company_id is null )</if>
|
|
|
<if test="talentId != null "> and talent_id = #{talentId}</if>
|
|
|
<if test="liveName != null and liveName != ''"> and live_name like concat('%', #{liveName}, '%')</if>
|