diff --git a/web/models/chargetab.go b/web/models/chargetab.go index f77ce75..88db5a8 100644 --- a/web/models/chargetab.go +++ b/web/models/chargetab.go @@ -2574,12 +2574,12 @@ func (t *Chargetab) PropertyFeeData(startDate string) (datalist CatPropertytabDa Twelve: utils.Decimal(allFell.Twelve/shopAllFell*100, 2), All: utils.Decimal(shopAllMoney/12/shopAllFell*100, 2), }) - - } - if errFell != nil { - errFell.Name = "异常收费" - datalist.ParkStatistics = append(datalist.ParkStatistics, *errFell) + if errFell != nil { + errFell.Name = "异常收费" + datalist.ParkStatistics = append(datalist.ParkStatistics, *errFell) + } } + return datalist, nil } func loadData(allocatemonth string, fell *PropertyFeeTwo, money float64) {