|
@@ -100,7 +100,10 @@ public class ExportExamStudentScore {
|
|
|
List<String> defaultDynamicColumnValues = new ArrayList<>();// Excel动态列默认值
|
|
|
String paperStructKey = "";// 试卷结构关键值
|
|
|
|
|
|
+ int index = 0;
|
|
|
for (ExamStudentVO examStudent : examStudents) {
|
|
|
+ log.debug((++index) + "---> examStudentId is " + examStudent.getExamStudentId());
|
|
|
+
|
|
|
if (!orgNameMaps.containsKey(examStudent.getOrgId())) {
|
|
|
String orgName = this.queryOrgName(examStudent.getOrgId());
|
|
|
orgNameMaps.put(examStudent.getOrgId(), orgName);
|
|
@@ -279,7 +282,7 @@ public class ExportExamStudentScore {
|
|
|
excelTypes[n] = String.class;
|
|
|
}
|
|
|
|
|
|
- final String filePath = String.format("/home/oe/exam_%s/exam_student_score_%s.xlsx", examId, courseId);
|
|
|
+ final String filePath = String.format("/home/admin/project/oe/exam_%s/exam_student_score_%s.xlsx", examId, courseId);
|
|
|
ExcelWriter.write(excelHeaders.toArray(new String[excelHeaders.size()]), excelTypes, excelRows, new File(filePath));
|
|
|
}
|
|
|
|