按新增时间倒叙

This commit is contained in:
wenc000 2020-07-14 12:23:16 +08:00
parent 0a4e8cea7b
commit 49e0dc96eb

View File

@ -79,7 +79,7 @@
#{creators[${index}]}
</foreach>
</if>
ORDER BY t1.publish_date DESC
ORDER BY t1.publish_date DESC, t1.gmt_create DESC
</select>
<!-- 新增文章内容 -->
@ -173,10 +173,10 @@
<if test="articleCategoryId != null and articleCategoryId != ''">
article_category_id = #{articleCategoryId},
</if>
modifier = #{modifier},
gmt_modified = #{gmtModified}
modifier = #{modifier},
gmt_modified = #{gmtModified}
WHERE
article_content_id = #{articleContentId}
article_content_id = #{articleContentId}
</update>
<!-- 文章内容详情 -->
@ -263,7 +263,7 @@
#{creators[${index}]}
</foreach>
</if>
ORDER BY t1.publish_date DESC
ORDER BY t1.publish_date DESC, t1.gmt_create DESC
</select>
<!-- 统计文章数量 -->