|
@@ -391,7 +391,7 @@ public class TCFinalScoreServiceImpl extends ServiceImpl<TCFinalScoreMapper, TCF
|
|
|
}
|
|
|
paperStructDimensionResultList = SDFrame.read(paperStructDimensionResultList).sortDesc(Sorter.sortDescBy(PaperStructDimensionResult::getMainNumber).sortDesc(PaperStructDimensionResult::getMainNumber)).toLists();
|
|
|
TCPaperStruct tcPaperStruct = new TCPaperStruct(cultureProgramId, courseId, basicCourse.getCode(), basicCourse.getName(), paperNumber, JacksonUtil.parseJson(paperStructDimensionResultList),
|
|
|
- sysUser.getId(), examId, tcPaperStructDb.getPaperStructDimension());
|
|
|
+ sysUser.getId(), examId, Objects.nonNull(tcPaperStructDb) ? tcPaperStructDb.getPaperStructDimension() : null);
|
|
|
tcPaperStructService.saveOrUpdate(tcPaperStruct);
|
|
|
}
|
|
|
} else {
|