From c418bb7196487c9bf7d7444e9ec45b950115a85e Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Mon, 6 Nov 2023 20:25:30 +0800 Subject: [PATCH] 2 --- app/admin/svc/svc_data_statisstics.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/admin/svc/svc_data_statisstics.go b/app/admin/svc/svc_data_statisstics.go index bf080f4..d6f4e3a 100644 --- a/app/admin/svc/svc_data_statisstics.go +++ b/app/admin/svc/svc_data_statisstics.go @@ -1845,10 +1845,10 @@ func CentralKitchenForSchoolDataStatisticsExport(req md.CentralKitchenForSchoolD }) totalMap["breakfast_count"] += v["早餐"]["count"] totalMap["breakfast_sum"] += v["早餐"]["sum"] - totalMap["lunch_count"] += v["早餐"]["count"] - totalMap["lunch_sum"] += v["早餐"]["sum"] - totalMap["dinner_count"] += v["早餐"]["count"] - totalMap["dinner_sum"] += v["早餐"]["sum"] + totalMap["lunch_count"] += v["午餐"]["count"] + totalMap["lunch_sum"] += v["午餐"]["sum"] + totalMap["dinner_count"] += v["晚餐"]["count"] + totalMap["dinner_sum"] += v["晚餐"]["sum"] totalMap["total_count"] += v["合计"]["count"] totalMap["total_sum"] += v["合计"]["sum"] j++