This commit is contained in:
thinkgem
2025-02-11 12:44:10 +08:00
parent 46bdef5058
commit 46fd24c819
2 changed files with 2 additions and 2 deletions

View File

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

View File

@@ -44,7 +44,7 @@ import java.util.List;
on = "s.site_code = a.site_code", columns = {
@Column(name = "site_name"),
})
}, orderBy = "a.tree_sorts, a.category_code", extWhereKeys = "dsfCategory"
}, extWhereKeys = "dsfCategory", orderBy = "a.tree_sorts, a.category_code"
)
public class Category extends TreeEntity<Category> {