fix(enduser):调整更新终端用户调整电费统计部分的空指针问题。

This commit is contained in:
徐涛
2022-09-22 17:04:49 +08:00
parent 502a8bbcee
commit 712d704004
2 changed files with 12 additions and 4 deletions

View File

@@ -114,8 +114,8 @@ type EndUserImport struct {
}
type EndUserPeriodStat struct {
CustomerName *string `json:"customerName"`
Address *string `json:"address"`
CustomerName string `json:"customerName"`
Address string `json:"address"`
MeterId string `bun:"meter_04kv_id" json:"meterId"`
IsPublicMeter bool `bun:"public_meter" json:"isPublicMeter"`
Kind int8 `bun:"-" json:"pvKind"`