|
@@ -46,7 +46,7 @@
|
|
|
</foreach>
|
|
|
</insert>
|
|
|
<insert id="batchInsertLongArticlesRootSourceId" parameterType="list">
|
|
|
- INSERT INTO long_articles_root_source_id_copy1 (root_source_id, account_name, gh_id, article_title, request_time,
|
|
|
+ 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=",">
|
|
@@ -87,6 +87,15 @@
|
|
|
resultType="com.tzld.longarticle.recommend.server.model.dto.LongArticlesText">
|
|
|
select * from long_articles_text_copy1 where kimi_title is null
|
|
|
</select>
|
|
|
+
|
|
|
+ <select id="getLongArticlesRootSourceId"
|
|
|
+ resultType="com.tzld.longarticle.recommend.server.model.dto.LongArticlesRootSourceId">
|
|
|
+ select * from long_articles_root_source_id where root_source_id in
|
|
|
+ <foreach collection="rootSourceIdList" item="item" open="(" close=")" separator=",">
|
|
|
+ #{item}
|
|
|
+ </foreach>
|
|
|
+ </select>
|
|
|
+
|
|
|
<update id="updateLongArticlesText">
|
|
|
update long_articles_text_copy1
|
|
|
set kimi_title = #{kimiTitle},
|