From b52d7b56dadf7ac919f73a355fe6793607a4a4a1 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Sat, 23 Sep 2023 16:18:49 +0800 Subject: [PATCH] update --- 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 d26c548..80cfd0b 100644 --- a/app/admin/svc/svc_data_statisstics.go +++ b/app/admin/svc/svc_data_statisstics.go @@ -689,7 +689,7 @@ func CentralKitchenForSchoolDataStatisticsExport(req md.CentralKitchenForSchoolD xlsx.SetColWidth("Sheet1", "A", "E", 20) j := 3 //表头前两行用了,只能从第三行开始 - var sumClassNum, sumBreakfast, sumLunch, sumDinner int64 + var sumClassNum, sumBreakfast, sumLunch, sumDinner = int64(0), int64(0), int64(0), int64(0) for k2, v2 := range v1 { if k2 == "" { //若年级为空,则为教师餐