fix: 统一商务表格展示并修正筛选和全量排序
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user