Bladeren bron

update

add_mode
DengBiao 1 jaar geleden
bovenliggende
commit
9982436f49
1 gewijzigde bestanden met toevoegingen van 9 en 9 verwijderingen
  1. +9
    -9
      app/admin/svc/svc_data_statisstics.go

+ 9
- 9
app/admin/svc/svc_data_statisstics.go Bestand weergeven

@@ -657,15 +657,6 @@ func SelfSupportForSchoolDataStatisticsExport(req md.SelfSupportForSchoolDataSta
}
totalData[k2]["num"] = sumNum
totalData[k2]["amount"] = sumAmount

xlsx.DeleteSheet("Sheet1") //TODO::只能放这里删除
//将文件保存至服务器
err1 := xlsx.SaveAs(tmpDownloadPath)
if err1 != nil {
logx.Error(err1)
println("<<<<SelfSupportForSchoolDataStatisticsExport4>>>>>Error:::", err1.Error())
panic(err1)
}
}

xlsx.NewSheet("Sheet1")
@@ -688,6 +679,15 @@ func SelfSupportForSchoolDataStatisticsExport(req md.SelfSupportForSchoolDataSta
j++
}

//xlsx.DeleteSheet("Sheet1") //TODO::只能放这里删除
//将文件保存至服务器
err1 := xlsx.SaveAs(tmpDownloadPath)
if err1 != nil {
logx.Error(err1)
println("<<<<SelfSupportForSchoolDataStatisticsExport4>>>>>Error:::", err1.Error())
panic(err1)
}

xlsDownloadPath = append(xlsDownloadPath, tmpDownloadPath)
xlsFileName = append(xlsFileName, tmpFileName)
}


Laden…
Annuleren
Opslaan