|
@@ -307,7 +307,7 @@ public class TCFinalScoreServiceImpl extends ServiceImpl<TCFinalScoreMapper, TCF
|
|
|
tcFinalScoreService.saveBatch(tcFinalScoreList);
|
|
|
trBasicInfoService.clearReportData(examId, courseCode, paperNumber, teachCourseId, true);
|
|
|
}
|
|
|
- TCPaperStruct tcPaperStruct = tcPaperStructService.queryPaperStruct(examId, courseCode, paperNumber, teachCourseId);
|
|
|
+ TCPaperStruct tcPaperStruct = tcPaperStructService.queryPaperStruct(examId, courseCode, null, teachCourseId);
|
|
|
if (Objects.nonNull(tcPaperStruct)) {
|
|
|
tcPaperStruct.setPaperNumber(paperNumber);
|
|
|
tcPaperStruct.setPaperStruct(JacksonUtil.parseJson(paperStructDimensionResultList));
|
|
@@ -316,7 +316,7 @@ public class TCFinalScoreServiceImpl extends ServiceImpl<TCFinalScoreMapper, TCF
|
|
|
} else {
|
|
|
BasicCourse basicCourse = basicCourseService.getByCode(courseCode);
|
|
|
Objects.requireNonNull(basicCourse, "未找到基础课程信息");
|
|
|
- tcPaperStruct = new TCPaperStruct(examId, courseCode, basicCourse.getName(), paperNumber, teachCourseId, sysUser.getId());
|
|
|
+ tcPaperStruct = new TCPaperStruct(examId, courseCode, basicCourse.getName(), paperNumber, teachCourseId, JacksonUtil.parseJson(paperStructDimensionResultList), sysUser.getId());
|
|
|
}
|
|
|
tcPaperStructService.saveOrUpdate(tcPaperStruct);
|
|
|
}
|