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 {