Browse Source

update

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

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

@@ -671,7 +671,7 @@ func CentralKitchenForSchoolDataStatisticsExport(req md.CentralKitchenForSchoolD
for k1, v1 := range list { for k1, v1 := range list {
tmpFileName := k1 + "学校预定统计表_" + utils.Int64ToStr(now.UnixMilli()) + ".xlsx" tmpFileName := k1 + "学校预定统计表_" + utils.Int64ToStr(now.UnixMilli()) + ".xlsx"
tmpDownloadPath := "./static/export/central_kitchen_for_school/" + tmpFileName tmpDownloadPath := "./static/export/central_kitchen_for_school/" + tmpFileName
titleList = []string{req.StartDate + "~" + req.EndDate + " " + k1}
titleList = []string{req.StartDate + "~~" + req.EndDate + " " + k1}
xlsx.SetSheetRow("Sheet1", "A1", &titleList) xlsx.SetSheetRow("Sheet1", "A1", &titleList)
titleList = []string{"年级", "班级", "早餐", "午餐", "晚餐"} titleList = []string{"年级", "班级", "早餐", "午餐", "晚餐"}
xlsx.SetSheetRow("Sheet1", "A2", &titleList) xlsx.SetSheetRow("Sheet1", "A2", &titleList)


Loading…
Cancel
Save