|
@@ -192,12 +192,12 @@ public class ReportSubjectRangeController extends BaseExamController {
|
|
|
writer.write(new ByteArrayInputStream(subjective), subjectName, "主观题分析.xlsx");
|
|
|
byte[] group = fileService.downloadReport(examId, subjectName, "分组统计分析", FormatType.XLSX);
|
|
|
writer.write(new ByteArrayInputStream(group), subjectName, "分组统计分析.xlsx");
|
|
|
- if(fileService.reportExist(examId, subjectName, "课程客观题分段统计", FormatType.XLSX)){
|
|
|
- byte[] objectiveRange = fileService.downloadReport(examId, subjectName, "课程客观题分段统计", FormatType.XLSX);
|
|
|
- writer.write(new ByteArrayInputStream(objectiveRange), subjectName, "课程客观题分段统计.xlsx");
|
|
|
- byte[] objective = fileService.downloadReport(examId, subjectName, "客观题分析", FormatType.XLSX);
|
|
|
- writer.write(new ByteArrayInputStream(objective), subjectName, "客观题分析.xlsx");
|
|
|
- }
|
|
|
+ }
|
|
|
+ if(fileService.reportExist(examId, subjectName, "课程客观题分段统计", FormatType.XLSX)){
|
|
|
+ byte[] objectiveRange = fileService.downloadReport(examId, subjectName, "课程客观题分段统计", FormatType.XLSX);
|
|
|
+ writer.write(new ByteArrayInputStream(objectiveRange), subjectName, "课程客观题分段统计.xlsx");
|
|
|
+ byte[] objective = fileService.downloadReport(examId, subjectName, "客观题分析", FormatType.XLSX);
|
|
|
+ writer.write(new ByteArrayInputStream(objective), subjectName, "客观题分析.xlsx");
|
|
|
}
|
|
|
}
|
|
|
|