Przeglądaj źródła

fixbug数据包导出套题子题分数错误

xiatian 1 rok temu
rodzic
commit
a346b7723e

+ 1 - 0
examcloud-core-questions-service/src/main/java/cn/com/qmth/examcloud/core/questions/service/impl/ExportThemisPaperServiceImpl.java

@@ -262,6 +262,7 @@ public class ExportThemisPaperServiceImpl implements ExportThemisPaperService {
 					for (int j = 0; j < subQuestionsList.size(); j++) {
 						Question subQuestion = subQuestionsList.get(j);
 						ThemisQuestion subcomputerTestQuestion = new ThemisQuestion(subQuestion);
+						subcomputerTestQuestion.setScore(paperDetailUnit.getSubScoreList().get(j));
 						ThemisAnswerContent subthemisAnswerContent = new ThemisAnswerContent(subQuestion);
 						// 设置套题中小题题号
 						subcomputerTestQuestion.setNumber(j + 1);