feat(erp): 添加应付和应收列表的统计信息
- 在ReplyPayableList中添加Count字段用于应付统计 - 新增PayableCount结构体包含金额统计功能 - 在ReplyReceivableList中添加Count字段用于应收统计 - 新增ReceivableCount结构体包含应收、已收和未收金额统计 - 扩展数据返回结构以支持财务统计数据展示
This commit is contained in:
@@ -29,6 +29,10 @@ type PayableSearch struct {
|
||||
type ReplyPayableList struct {
|
||||
List []PayableItem `json:"list"`
|
||||
Total int64 `json:"total"`
|
||||
Count PayableCount `json:"count"`
|
||||
}
|
||||
type PayableCount struct {
|
||||
Amount decimal.Decimal `json:"amount"`
|
||||
}
|
||||
type PayableItem struct {
|
||||
Id int64 `json:"id"`
|
||||
|
||||
Reference in New Issue
Block a user