|
@@ -797,6 +797,7 @@ public class RandomPaperServiceImpl implements RandomPaperService {
|
|
|
int detailNumber = 0;
|
|
|
for (PaperDetailStruct ds : ps.getPaperDetailStructs()) {
|
|
|
DefaultQuestionGroup detail = new DefaultQuestionGroup();
|
|
|
+ details.add(detail);
|
|
|
detail.setGroupName(ds.getName());
|
|
|
detail.setGroupScore(ds.getTotalScore());
|
|
|
List<DefaultQuestionStructureWrapper> units = new ArrayList<>();
|
|
@@ -817,6 +818,7 @@ public class RandomPaperServiceImpl implements RandomPaperService {
|
|
|
int detailNumber = 0;
|
|
|
for (PaperDetailStruct ds : ps.getPaperDetailStructs()) {
|
|
|
DefaultQuestionGroup detail = new DefaultQuestionGroup();
|
|
|
+ details.add(detail);
|
|
|
detail.setGroupName(ds.getName());
|
|
|
detail.setGroupScore(ds.getTotalScore());
|
|
|
List<DefaultQuestionStructureWrapper> units = new ArrayList<>();
|
|
@@ -938,6 +940,7 @@ public class RandomPaperServiceImpl implements RandomPaperService {
|
|
|
for (int i = 0; i < param.getUnitCount(); i++) {
|
|
|
RandomPaperQuestion rpq = rpqs.get(i);
|
|
|
DefaultQuestionStructureWrapper qw = new DefaultQuestionStructureWrapper();
|
|
|
+ param.getUnits().add(qw);
|
|
|
qw.setLimitedPlayTimes(param.getPlayTime());
|
|
|
qw.setPlayedTimes(0);
|
|
|
qw.setQuestionId(rpq.getQuestionId());
|