|
|
@ -290,7 +290,7 @@ public class PaperManager {
|
|
|
|
//回答列表
|
|
|
|
//回答列表
|
|
|
|
QueryWrapper<ElQuAnswer> wrapper = new QueryWrapper<>();
|
|
|
|
QueryWrapper<ElQuAnswer> wrapper = new QueryWrapper<>();
|
|
|
|
wrapper.lambda().eq(ElQuAnswer::getQuId, item.getQuId());
|
|
|
|
wrapper.lambda().eq(ElQuAnswer::getQuId, item.getQuId());
|
|
|
|
wrapper.last(" ORDER BY RAND() ");
|
|
|
|
wrapper.last(" ORDER BY RANDOM() ");
|
|
|
|
List<ElQuAnswer> answerList = quAnswerService.list(wrapper);
|
|
|
|
List<ElQuAnswer> answerList = quAnswerService.list(wrapper);
|
|
|
|
if (CollUtil.isNotEmpty(answerList)) {
|
|
|
|
if (CollUtil.isNotEmpty(answerList)) {
|
|
|
|
int ii = 0;
|
|
|
|
int ii = 0;
|
|
|
|