diff --git a/erp/expense.go b/erp/expense.go index ba54986..1f18127 100644 --- a/erp/expense.go +++ b/erp/expense.go @@ -39,6 +39,10 @@ type ExpenseSearch struct { type ReplyExpenseList struct { List []ExpenseItem `json:"list"` Total int64 `json:"total"` + Count ExpenseCount `json:"count"` +} +type ExpenseCount struct { + Amount decimal.Decimal `json:"amount"` } type ExpenseItem struct { Id int64 `json:"id"`