|
@@ -867,6 +867,9 @@ public class RandomPaperServiceImpl implements RandomPaperService {
|
|
for (RandomPaperQuestionDto dto : si.getEasyInfo().getQuestionInfo()) {
|
|
for (RandomPaperQuestionDto dto : si.getEasyInfo().getQuestionInfo()) {
|
|
addRqs(rqs, dto, e);
|
|
addRqs(rqs, dto, e);
|
|
}
|
|
}
|
|
|
|
+ for (RandomPaperQuestionDto dto : si.getAnyInfo().getQuestionInfo()) {
|
|
|
|
+ addRqs(rqs, dto, e);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
randomPaperQuestionRepo.saveAll(rqs);
|
|
randomPaperQuestionRepo.saveAll(rqs);
|
|
String key = CacheConstants.CACHE_Q_RANDOM_PAPER + e.getId();
|
|
String key = CacheConstants.CACHE_Q_RANDOM_PAPER + e.getId();
|