文章按权重排序修复

This commit is contained in:
thinkgem
2025-03-22 18:48:12 +08:00
parent 3aff37f35a
commit fbac25ef38

View File

@@ -61,7 +61,7 @@ import java.util.Date;
@Column(name = "site_code"),
@Column(name = "site_name"),
})
}, extWhereKeys = "dsfCategory", orderBy = "a.update_date DESC"
}, extWhereKeys = "dsfCategory", orderBy = "a.weight DESC, a.update_date DESC"
)
public class Article extends DataEntity<Article> {