|
|
@@ -57,9 +57,9 @@
|
|
|
'天津星链视界信息技术有限公司' as copyright_owner, '其他' as playlet_gender, video.update_sort as playlet_num, '2' as playlet_duration,
|
|
|
payinfo.sort as start_pay_playlet, '5' as membership_types, '2' as has_motivation_types,
|
|
|
payinfo.maxpay as max_charge, payinfo.minpay as min_charge, maxpay as recommended_charge, maxpay as price,
|
|
|
- 1 as has_motivation_content
|
|
|
+ 1 as has_motivation_content, video.source
|
|
|
FROM (select video_id, album_id, 1 as platform_type from thirtpart.ly_third_videos where submission_status=2 and platform=2
|
|
|
- and video_id in (select video_id from thirtpart.ly_video_audit_records where audit_status=2)
|
|
|
+ and video_id in (select video_id from thirtpart.ly_video_audit_records where audit_status=2 and platform=2)
|
|
|
union select ly_video_id as video_id, album_id, 2 as platform_type from deepthink.bytedance_upload_album where can_promotion=1
|
|
|
) third
|
|
|
LEFT JOIN (select * from thirtpart.ly_video_details where platform_config is not null group by video_id) detail ON third.video_id = detail.video_id
|
|
|
@@ -73,9 +73,9 @@
|
|
|
<select id="getIAAVideoList" resultType="cn.com.ctop.job.bytedance.data.entity.AigcProductAlbum">
|
|
|
select third.album_id, third.platform_type, detail.platform_config, video.id as video_id, detail.id as video_detail_id, video.name as name, video.cover_img as img,ifnull(category.name, '其他') as 'theme', video.play_platform,
|
|
|
'天津星链视界信息技术有限公司' as copyright_owner, '其他' as playlet_gender, video.update_sort as playlet_num, '2' as playlet_duration,
|
|
|
- '5' as membership_types, '1' as has_paid_content, '2' as has_motivation_types,payinfo.sort as starting_unlock_episode
|
|
|
+ '5' as membership_types, '1' as has_paid_content, '2' as has_motivation_types,payinfo.sort as starting_unlock_episode, video.source
|
|
|
FROM (select video_id, album_id, 1 as platform_type from thirtpart.ly_third_videos where submission_status=2 and platform=2
|
|
|
- and video_id in (select video_id from thirtpart.ly_video_audit_records where audit_status=2)
|
|
|
+ and video_id in (select video_id from thirtpart.ly_video_audit_records where audit_status=2 and platform=2)
|
|
|
union select ly_video_id as video_id, album_id, 2 as platform_type from deepthink.bytedance_upload_album where can_promotion=1
|
|
|
) third
|
|
|
LEFT JOIN (select * from thirtpart.ly_video_details where platform_config is not null group by video_id) detail ON third.video_id = detail.video_id
|