From 4e615a2655d5c3dbfa203af81828a4ea5eb7b2d4 Mon Sep 17 00:00:00 2001 From: yehongyang Date: Wed, 3 Nov 2021 18:05:36 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=AF=E4=BB=B6=E4=BC=98=E5=8C=962?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/models/chargetab.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/web/models/chargetab.go b/web/models/chargetab.go index 88db5a8..f77ce75 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) {