forked from free-lancers/electricity_bill_calc_service
fix(report):修正一系列报表查询中出现的无法获取数据的问题。
This commit is contained in:
@@ -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"`
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user