|
@@ -29,11 +29,11 @@
|
|
|
select * from article_match_videos where DATE(update_time) >= '2024-09-20' and success = 1 and content_status = 2 order by video_id limit #{offset}, #{pageSize}
|
|
|
</select>
|
|
|
<select id="countLongArticlesVideos" resultType="java.lang.Integer">
|
|
|
- select count(1) from long_articles_video where DATE(update_time) < '2024-09-20'
|
|
|
+ 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 DATE(update_time) >= '2024-09-20' and success = 1 and content_status = 2 order by id limit #{offset}, #{pageSize}
|
|
|
</select>
|
|
|
|
|
|
</mapper>
|