|
|
@ -184,7 +184,7 @@ public class Ghre_ExamPaperServices : BaseServices<Ghre_ExamPaper, Ghre_ExamPape |
|
|
|
Directory.CreateDirectory(physicsPath + path); |
|
|
|
Directory.CreateDirectory(physicsPath + path); |
|
|
|
|
|
|
|
|
|
|
|
path = path + body.exportSet.TitleName + ".xlsx"; |
|
|
|
path = path + body.exportSet.TitleName + ".xlsx"; |
|
|
|
NPOIHelper.ExportExcel(dt, null, "sheet1", physicsPath + path); |
|
|
|
NPOIHelper.ExportExcel(dt, body.exportSet.TitleName, "sheet1", physicsPath + path); |
|
|
|
var result = new ExcelData(); |
|
|
|
var result = new ExcelData(); |
|
|
|
result.filePath = path; |
|
|
|
result.filePath = path; |
|
|
|
result.fileName = body.exportSet.TitleName + ".xlsx"; |
|
|
|
result.fileName = body.exportSet.TitleName + ".xlsx"; |
|
|
|