|
@@ -133,16 +133,6 @@
|
|
|
</foreach>
|
|
|
</insert>
|
|
|
|
|
|
- <insert id="batchInsertLongArticlesRootSourceId" parameterType="list">
|
|
|
- INSERT INTO long_articles_root_source_id (root_source_id, account_name, gh_id, article_title, request_time,
|
|
|
- trace_id, push_type, video_id)
|
|
|
- VALUES
|
|
|
- <foreach collection="list" item="item" index="index" separator=",">
|
|
|
- (#{item.rootSourceId}, #{item.accountName}, #{item.ghId}, #{item.articleTitle}, #{item.requestTime},
|
|
|
- #{item.traceId}, #{item.pushType}, #{item.videoId})
|
|
|
- </foreach>
|
|
|
- </insert>
|
|
|
-
|
|
|
<insert id="batchInsertLongArticlesCrawlerVideos" parameterType="list">
|
|
|
INSERT INTO long_articles_crawler_videos (content_id, out_video_id, platform, video_title, play_count,
|
|
|
like_count, share_count, publish_time, crawler_time, duration,
|
|
@@ -180,7 +170,7 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="getLongArticlesRootSourceId"
|
|
|
- resultType="com.tzld.longarticle.recommend.server.model.dto.LongArticlesRootSourceId">
|
|
|
+ resultType="com.tzld.longarticle.recommend.server.model.entity.longArticle.LongArticlesRootSourceId">
|
|
|
select * from long_articles_root_source_id where root_source_id in
|
|
|
<foreach collection="rootSourceIdList" item="item" open="(" close=")" separator=",">
|
|
|
#{item}
|