|
@@ -63,5 +63,6 @@
|
|
left join photo on newsArticle.photo_id = photo.id
|
|
left join photo on newsArticle.photo_id = photo.id
|
|
left join news_article_navigation_bar as newsArticleNavigationBar on newsArticle.id = newsArticleNavigationBar.news_article_id
|
|
left join news_article_navigation_bar as newsArticleNavigationBar on newsArticle.id = newsArticleNavigationBar.news_article_id
|
|
where newsArticle.activated = 1 and newsArticleNavigationBar.activated = 1 and newsArticleNavigationBar.navigation_bar_id = #{id}
|
|
where newsArticle.activated = 1 and newsArticleNavigationBar.activated = 1 and newsArticleNavigationBar.navigation_bar_id = #{id}
|
|
|
|
+ order by top_flag desc , create_time desc
|
|
</select>
|
|
</select>
|
|
</mapper>
|
|
</mapper>
|