|
@@ -166,7 +166,7 @@ public class TaskMarkResultStandardExportTemplete implements TaskExportTemplete
|
|
|
answer = AnswerTypeEnum.convertToTitle(s.getAnswer().replaceAll("\n", "").toUpperCase());
|
|
|
}
|
|
|
ExcelDto excelAnswerDto = new ExcelDto(title + "作答", answer);
|
|
|
- ExcelDto excelScoreDto = new ExcelDto(title + "得分", String.valueOf(s.getScore()));
|
|
|
+ ExcelDto excelScoreDto = new ExcelDto(title + "得分", Objects.nonNull(s.getScore()) ? String.valueOf(s.getScore()) : null);
|
|
|
List<ExcelDto> excelDtoList = null;
|
|
|
if (!excelDtoMap.containsKey(m.getExamStudentId())) {
|
|
|
excelDtoList = new ArrayList<>();
|