按新增时间倒叙
This commit is contained in:
parent
0a4e8cea7b
commit
49e0dc96eb
@ -79,7 +79,7 @@
|
|||||||
#{creators[${index}]}
|
#{creators[${index}]}
|
||||||
</foreach>
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
ORDER BY t1.publish_date DESC
|
ORDER BY t1.publish_date DESC, t1.gmt_create DESC
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 新增文章内容 -->
|
<!-- 新增文章内容 -->
|
||||||
@ -173,10 +173,10 @@
|
|||||||
<if test="articleCategoryId != null and articleCategoryId != ''">
|
<if test="articleCategoryId != null and articleCategoryId != ''">
|
||||||
article_category_id = #{articleCategoryId},
|
article_category_id = #{articleCategoryId},
|
||||||
</if>
|
</if>
|
||||||
modifier = #{modifier},
|
modifier = #{modifier},
|
||||||
gmt_modified = #{gmtModified}
|
gmt_modified = #{gmtModified}
|
||||||
WHERE
|
WHERE
|
||||||
article_content_id = #{articleContentId}
|
article_content_id = #{articleContentId}
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
<!-- 文章内容详情 -->
|
<!-- 文章内容详情 -->
|
||||||
@ -263,7 +263,7 @@
|
|||||||
#{creators[${index}]}
|
#{creators[${index}]}
|
||||||
</foreach>
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
ORDER BY t1.publish_date DESC
|
ORDER BY t1.publish_date DESC, t1.gmt_create DESC
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 统计文章数量 -->
|
<!-- 统计文章数量 -->
|
||||||
|
Loading…
Reference in New Issue
Block a user