|
@@ -244,6 +244,10 @@ public class ExtractConfigProviderServiceImpl implements ExtractConfigProviderSe
|
|
log.error("试卷大题下面,没有小题");
|
|
log.error("试卷大题下面,没有小题");
|
|
throw new StatusException("Q-020241", "考试试卷有误,请联系老师");
|
|
throw new StatusException("Q-020241", "考试试卷有误,请联系老师");
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ //按题号顺序排序
|
|
|
|
+ Collections.sort(paperDetailUnits);
|
|
|
|
+
|
|
for (int j = 0; j < paperDetailUnits.size(); j++) {
|
|
for (int j = 0; j < paperDetailUnits.size(); j++) {
|
|
PaperDetailUnit paperDetailUnit = paperDetailUnits.get(j);
|
|
PaperDetailUnit paperDetailUnit = paperDetailUnits.get(j);
|
|
DefaultQuestionStructureWrapper defaultQuestionStructureWrapper = new DefaultQuestionStructureWrapper();
|
|
DefaultQuestionStructureWrapper defaultQuestionStructureWrapper = new DefaultQuestionStructureWrapper();
|