|
@@ -37,6 +37,8 @@ import com.qmth.teachcloud.obe.service.TCFinalScoreService;
|
|
|
import com.qmth.teachcloud.obe.service.TCPaperStructService;
|
|
|
import com.qmth.teachcloud.obe.service.TCUsualScoreService;
|
|
|
import com.qmth.teachcloud.obe.service.TRBasicInfoService;
|
|
|
+import io.github.burukeyou.dataframe.iframe.SDFrame;
|
|
|
+import io.github.burukeyou.dataframe.iframe.window.Sorter;
|
|
|
import org.apache.commons.collections4.CollectionUtils;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
@@ -373,6 +375,8 @@ public class TCFinalScoreServiceImpl extends ServiceImpl<TCFinalScoreMapper, TCF
|
|
|
}
|
|
|
BasicCourse basicCourse = basicCourseService.getById(courseId);
|
|
|
Objects.requireNonNull(basicCourse, "未找到基础课程信息");
|
|
|
+
|
|
|
+ paperStructDimensionResultList = SDFrame.read(paperStructDimensionResultList).sortDesc(Sorter.sortDescBy(PaperStructDimensionResult::getMainNumber).sortDesc(PaperStructDimensionResult::getMainNumber)).toLists();
|
|
|
tcPaperStruct = new TCPaperStruct(cultureProgramId, courseId, basicCourse.getCode(), basicCourse.getName(), paperNumber, JacksonUtil.parseJson(paperStructDimensionResultList),
|
|
|
sysUser.getId());
|
|
|
tcPaperStruct.setExamId(examId);
|