Parcourir la source

内容供给量-分渠道 视频统计修改

wangyunpeng il y a 1 mois
Parent
commit
dc5f428b1d

+ 2 - 1
long-article-recommend-service/src/main/resources/mapper/aigc/AigcBaseMapper.xml

@@ -364,9 +364,10 @@
     <select id="getVideoPoolPlatformCrawlerCount" resultType="java.lang.Long">
         select count(1)
         from crawler_content cc
+        join crawler_plan_result_rel cprr on cc.channel_content_id = cprr.channel_source_id
         join crawler_content_video_pool_relation ccvpr on cc.channel_content_id = ccvpr.channel_content_id
         where ccvpr.platform = #{platform}
-        and cc.crawler_timestamp between #{start} and #{end}
+        and cprr.create_timestamp between #{start} and #{end}
     </select>
 
     <select id="getVideoPoolPlatformProduceCount" resultType="java.lang.Long">