fix: 统一商务表格展示并修正筛选和全量排序

This commit is contained in:
Yvan
2026-11-05 01:48:09 +08:00
parent dc97690eb1
commit 10600d1bc9
38 changed files with 356 additions and 145 deletions
+2
View File
@@ -287,6 +287,8 @@ func (r *ledgerRepo) Spends(ctx context.Context, scope business.LedgerScope, fil
order := "r.pay_time"
if filter.SortField == "payAmount" {
order = "r.pay_amount"
} else if filter.SortField == "id" {
order = "r.id"
}
if filter.Ascending {
order += " ASC"