fix(report):修正一系列报表查询中出现的无法获取数据的问题。

This commit is contained in:
徐涛
2023-06-27 10:58:11 +08:00
parent 7806f07766
commit b4ce754c0d
7 changed files with 17 additions and 15 deletions

View File

@@ -10,6 +10,7 @@ type Park struct {
Id string `json:"id"`
UserId string `json:"userId"`
Name string `json:"name"`
Abbr string `json:"-"`
Area decimal.NullDecimal `json:"area"`
TenementQuantity decimal.NullDecimal `json:"tenement"`
Capacity decimal.NullDecimal `json:"capacity"`

View File

@@ -71,6 +71,7 @@ type ReportPublicConsumption struct {
ConsumptionTotal decimal.Decimal `json:"consumptionTotal" db:"consumption_total"`
LossAdjustTotal decimal.Decimal `json:"lossAdjustTotal" db:"loss_adjust_total"`
FinalTotal decimal.Decimal `json:"finalTotal" db:"final_total"`
PublicPooled int16 `json:"publicPooled" db:"public_pooled"`
}
type ReportDetailedPublicConsumption struct {