Browse Source

1

add_mode
DengBiao 1 year ago
parent
commit
172be8d1aa
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/admin/svc/svc_data_statisstics.go

+ 2
- 2
app/admin/svc/svc_data_statisstics.go View File

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


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


Loading…
Cancel
Save