@@ -71,10 +71,10 @@ public class PublishTaskInfoServiceImpl extends ServiceImpl<PublishTaskInfoMappe
/**
- * 每天0点更新
+ * 每天23点59分更新
*/
@Transactional
- @Scheduled(cron = "0 0 0 * * ?")
+ @Scheduled(cron = "0 59 23 * * ?")
public void rushTime() {
//获取当前年月日
@@ -30,7 +30,7 @@
FROM hy_news_info
WHERE delete_flag = '0'
AND re_common_id = #{commonId}
- ORDER BY news_flag asc ,create_date DESC
+ ORDER BY create_date DESC
<if test="currentPage != null and currentPage != ''">
LIMIT ${startRecord}, ${pageSize}
</if>