|
@@ -97,6 +97,29 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<include refid="selectLiveVo"/>
|
|
<include refid="selectLiveVo"/>
|
|
|
where live_id = #{liveId} and company_id = #{companyId} and company_user_id = #{companyUserId}
|
|
where live_id = #{liveId} and company_id = #{companyId} and company_user_id = #{companyUserId}
|
|
|
</select>
|
|
</select>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <select id="appList" resultMap="LiveResult">
|
|
|
|
|
+ select a.live_id, a.company_id, a.company_user_id,talent_id, a.live_name, a.is_audit, a.live_desc, a.show_type, a.status, a.anchor_id,
|
|
|
|
|
+ a.live_type, a.start_time, a.finish_time, a.live_img_url, a.live_config, a.id_card_url, a.is_show, a.is_del, a.qw_qr_code, a.rtmp_url,
|
|
|
|
|
+ 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
|
|
|
|
|
+ <if test="companyId != null "> and a.company_id = #{companyId}</if>
|
|
|
|
|
+ <if test="companyUserId != null "> and a.company_user_id = #{companyUserId}</if>
|
|
|
|
|
+ <if test="liveName != null and liveName != ''"> and live_name like concat('%', #{liveName}, '%')</if>
|
|
|
|
|
+ <if test="showType != null "> and show_type = #{showType}</if>
|
|
|
|
|
+ <if test="status != null "> and status = #{status}</if>
|
|
|
|
|
+ <if test="liveType != null "> and live_type = #{liveType}</if>
|
|
|
|
|
+ <if test="startTime != null "> and start_time = #{startTime}</if>
|
|
|
|
|
+ <if test="finishTime != null "> and finish_time = #{finishTime}</if>
|
|
|
|
|
+ <if test="isShow != null "> and is_show = #{isShow}</if>
|
|
|
|
|
+ <if test="isAudit != null and isAudit != ''"> and is_audit = #{isAudit}</if>
|
|
|
|
|
+ order by create_time desc
|
|
|
|
|
+ </select>
|
|
|
|
|
+
|
|
|
<select id="selectLiveToStudent" resultType="com.fs.live.domain.Live">
|
|
<select id="selectLiveToStudent" resultType="com.fs.live.domain.Live">
|
|
|
<include refid="selectLiveVo"/>
|
|
<include refid="selectLiveVo"/>
|
|
|
where 1=1
|
|
where 1=1
|