From ce8cb0c80fe8d425608bf750851d1d1ef5ff7a9c Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Thu, 14 Sep 2023 15:44:04 +0800 Subject: [PATCH] 1 --- app/admin/svc/svc_data_statisstics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/admin/svc/svc_data_statisstics.go b/app/admin/svc/svc_data_statisstics.go index 60c1574..ab0e166 100644 --- a/app/admin/svc/svc_data_statisstics.go +++ b/app/admin/svc/svc_data_statisstics.go @@ -344,7 +344,7 @@ func SelfSupportForSchoolDataStatisticsExport(req md.SelfSupportForSchoolDataSta } //整合数据 - var data map[string]map[string]map[string]map[string]float64 + var data = map[string]map[string]map[string]map[string]float64{} for _, vv := range m { shopName := deviceListMapping[vv.SelfSupportForSchoolOrd.DeviceSn].Name if data[vv.Enterprise.Name] == nil {