|
|
@@ -1848,6 +1848,13 @@ func CentralKitchenForSchoolDataStatisticsExport(req md.CentralKitchenForSchoolD |
|
|
|
} |
|
|
|
} |
|
|
|
//xls.DeleteSheet("template") //删除模板表 |
|
|
|
|
|
|
|
//xls.SetSheetRow("template", "A"+strconv.Itoa(j), &[]interface{}{"总计", |
|
|
|
// v["早餐"]["count"], v["早餐"]["sum"], |
|
|
|
// v["午餐"]["count"], v["午餐"]["sum"], |
|
|
|
// v["晚餐"]["count"], v["晚餐"]["sum"], |
|
|
|
// v["合计"]["count"], v["合计"]["sum"], |
|
|
|
//}) |
|
|
|
//将文件保存至服务器 |
|
|
|
xls.SaveAs("./static" + downloadPath) |
|
|
|
break |
|
|
|