1
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 25s
Docker Build & Deploy / Deploy to Production (push) Successful in 6s
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 1s
Docker Build & Deploy / WeChat Notification (push) Successful in 1s

This commit is contained in:
SunCheng
2026-01-17 15:55:46 +08:00
parent 1b3d01c78c
commit 9b25c62662
2 changed files with 14 additions and 7 deletions

View File

@@ -16,6 +16,7 @@ public class BudgetController(
try
{
return (await budgetService.GetListAsync(referenceDate))
.OrderByDescending(b => b.IsMandatoryExpense)
.OrderBy(b => b.Category)
.ThenBy(b => b.Type)
.ThenByDescending(b => b.Limit > 0 ? b.Current / b.Limit : 0)