wangyunpeng пре 1 недеља
родитељ
комит
a7274c4f01

+ 2 - 2
api-module/src/main/resources/mapper/contentplatform/ext/ContentPlatformPlanMapperExt.xml

@@ -149,7 +149,7 @@
             on videoTag.dt = video.dt and videoTag.video_id = video.video_id and ${videoTagFilter}
         </if>
         where video.dt = #{dt} and video.status = 1 and video.score > #{minScore}
-        and (video.source = 1 or video.video_id in (select video_id
+        and (video.source = 0 or video.video_id in (select video_id
                                                     from content_platform_video_account_rel
                                                     where dt = #{dt} and account_id = #{createAccountId}))
         <if test="param.title!= null and param.title!= ''">
@@ -187,7 +187,7 @@
             on videoTag.dt = video.dt and videoTag.video_id = video.video_id and ${videoTagFilter}
         </if>
         where video.dt = #{dt} and video.status = 1 and video.score > #{minScore}
-          and (video.source = 1 or video.video_id in (select video_id
+          and (video.source = 0 or video.video_id in (select video_id
                                                       from content_platform_video_account_rel
                                                       where dt = #{dt} and account_id = #{createAccountId}))
         <if test="param.title!= null and param.title!= ''">