|
@@ -13,7 +13,7 @@
|
|
|
select count(1) from get_off_videos where publish_time > 1727239202
|
|
|
</select>
|
|
|
<select id="pageGetOffVideos" resultType="com.tzld.longarticle.recommend.server.model.dto.GetOffVideos">
|
|
|
- select * from get_off_videos where publish_time > 1727239202 order by video_id limit #{offset}, #{pageSize}
|
|
|
+ select * from get_off_videos order by video_id limit #{offset}, #{pageSize}
|
|
|
</select>
|
|
|
<select id="countLongArticlesRootSourceId" resultType="java.lang.Integer">
|
|
|
select count(1) from long_articles_root_source_id where requestTime > 1727192229
|
|
@@ -26,14 +26,14 @@
|
|
|
</select>
|
|
|
<select id="pageArticleMatchVideos"
|
|
|
resultType="com.tzld.longarticle.recommend.server.model.dto.ArticleMatchVideos">
|
|
|
- select * from article_match_videos where DATE(update_time) >= '2024-09-20' order by video_id
|
|
|
+ select * from article_match_videos order by video_id
|
|
|
</select>
|
|
|
<select id="countLongArticlesVideos" resultType="java.lang.Integer">
|
|
|
select count(1) from long_articles_video where DATE(update_time) >= '2024-09-20' and success = 1 and content_status = 2
|
|
|
</select>
|
|
|
<select id="pageLongArticlesVideos"
|
|
|
resultType="com.tzld.longarticle.recommend.server.model.dto.LongArticlesVideo">
|
|
|
- select * from long_articles_video where DATE(update_time) >= '2024-09-20' and success = 1 and content_status = 2 order by id limit #{offset}, #{pageSize}
|
|
|
+ select * from long_articles_video where success = 1 and content_status = 2 order by id limit #{offset}, #{pageSize}
|
|
|
</select>
|
|
|
<select id="getLongArticlesText" resultType="com.tzld.longarticle.recommend.server.model.dto.LongArticlesText">
|
|
|
select content_id, kimi_title, kimi_summary, kimi_keys from long_articles_video where kimi_summary is not null group by content_id
|