|
@@ -146,7 +146,9 @@ public class ExamQuestionServiceImpl extends BaseQueryService<ExamQuestion> impl
|
|
|
Page<ExamQuestion> result = questionDao.findAll(buildSpecification(query), query);
|
|
|
fillResult(result, query);
|
|
|
if (result != null) {
|
|
|
- List<ExamQuestion> list = questionSort(query.getResult());
|
|
|
+ List<ExamQuestion> list = new ArrayList<ExamQuestion>();
|
|
|
+ list.addAll(query.getResult());
|
|
|
+ list = questionSort(list);
|
|
|
query.setResult(list);
|
|
|
}
|
|
|
return query;
|