|
@@ -141,6 +141,7 @@ public class TCPaperStructController {
|
|
|
@ApiParam(value = "科目编码", required = true) @RequestParam String courseCode,
|
|
|
@ApiParam(value = "试卷编号", required = true) @RequestParam String paperNumber) throws IOException {
|
|
|
tcFinalScoreService.getFinalScoreSyncLock(examId, courseCode, paperNumber);
|
|
|
+ CourseWeightResult courseWeightResult = trBasicInfoService.findCourseWeightResultRmi(examId, courseCode);
|
|
|
List<PaperStructDimensionResult> paperStructDimensionResultList = null;
|
|
|
TCPaperStruct tcPaperStruct = tcPaperStructService.queryByExamIdAndCourseCodeAndPaperNumber(examId, courseCode, paperNumber);
|
|
|
if (Objects.isNull(tcPaperStruct) || Objects.isNull(tcPaperStruct.getPaperStruct())) {
|
|
@@ -153,7 +154,6 @@ public class TCPaperStructController {
|
|
|
paperStructDimensionResultList.add(new PaperStructDimensionResult(markQuestion.getMainNumber(), markQuestion.getSubNumber(), markQuestion.getTotalScore()));
|
|
|
}
|
|
|
} else {
|
|
|
- CourseWeightResult courseWeightResult = trBasicInfoService.findCourseWeightResultRmi(examId, courseCode);
|
|
|
if (Objects.nonNull(tcPaperStruct.getDimensionSign()) && tcPaperStruct.getDimensionSign().longValue() != courseWeightResult.getDimensionSign().longValue()) {
|
|
|
trBasicInfoService.clearReportData(examId, courseCode, paperNumber, false);
|
|
|
paperStructDimensionResultList = new ArrayList<>();
|