diff --git a/cloud-common-article/src/main/resources/mybatis/mapper/articlecontent/articlecontent-mapper.xml b/cloud-common-article/src/main/resources/mybatis/mapper/articlecontent/articlecontent-mapper.xml index 56ba3ac..d5611a4 100644 --- a/cloud-common-article/src/main/resources/mybatis/mapper/articlecontent/articlecontent-mapper.xml +++ b/cloud-common-article/src/main/resources/mybatis/mapper/articlecontent/articlecontent-mapper.xml @@ -79,7 +79,7 @@ #{creators[${index}]} - ORDER BY t1.publish_date DESC + ORDER BY t1.publish_date DESC, t1.gmt_create DESC @@ -173,10 +173,10 @@ article_category_id = #{articleCategoryId}, - modifier = #{modifier}, - gmt_modified = #{gmtModified} + modifier = #{modifier}, + gmt_modified = #{gmtModified} WHERE - article_content_id = #{articleContentId} + article_content_id = #{articleContentId} @@ -263,7 +263,7 @@ #{creators[${index}]} - ORDER BY t1.publish_date DESC + ORDER BY t1.publish_date DESC, t1.gmt_create DESC