|
@@ -205,7 +205,7 @@ public class TCPaperStructController {
|
|
|
}
|
|
|
paperStructDimensionResultList = new ArrayList<>(markQuestionList.size());
|
|
|
for (MarkQuestion markQuestion : markQuestionList) {
|
|
|
- paperStructDimensionResultList.add(new PaperStructDimensionResult(markQuestion.getMainNumber(), markQuestion.getSubNumber(), paperNumber, markQuestion.getTotalScore()));
|
|
|
+ paperStructDimensionResultList.add(new PaperStructDimensionResult(markQuestion.getMainNumber(), markQuestion.getSubNumber(), markQuestion.getPaperNumber(), markQuestion.getTotalScore()));
|
|
|
}
|
|
|
} else {
|
|
|
CourseWeightResult courseWeightResult = trBasicInfoService.findCourseWeightResultRmi(teachCourseId);
|
|
@@ -215,6 +215,7 @@ public class TCPaperStructController {
|
|
|
} else {
|
|
|
paperStructDimensionResultList = this.getPaperStructDimensionResult(tcPaperStruct, paperStructDimensionResultList);
|
|
|
}
|
|
|
+ paperStructDimensionResultList.stream().peek(s -> s.setPaperNumber(tcPaperStruct.getPaperNumber())).collect(Collectors.toList());
|
|
|
}
|
|
|
return ResultUtil.ok(paperStructDimensionResultList);
|
|
|
}
|