Browse Source

update

add_mode
DengBiao 1 year ago
parent
commit
d74f75ca48
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      app/admin/svc/svc_data_statisstics.go

+ 3
- 0
app/admin/svc/svc_data_statisstics.go View File

@@ -1816,6 +1816,9 @@ func CentralKitchenForSchoolDataStatisticsExport(req md.CentralKitchenForSchoolD
if list[dateName][enum.CentralKitchenForSchoolUserWithDayKind(vv).String()] == nil {
list[dateName][enum.CentralKitchenForSchoolUserWithDayKind(vv).String()] = map[string]float64{}
}
if data[dateName]["合计"] == nil {
data[dateName]["合计"] = make(map[string]float64)
}

list[dateName][enum.CentralKitchenForSchoolUserWithDayKind(vv).String()]["sum"] = tmpSum
list[dateName][enum.CentralKitchenForSchoolUserWithDayKind(vv).String()]["count"] = float64(tmpCount)


Loading…
Cancel
Save