|
@@ -201,7 +201,7 @@ public class StudentRegistrationServiceImpl extends BaseServiceImpl<Long, Studen
|
|
|
Map<String, Object> params = new HashMap<>();
|
|
|
MapUtil.populateMap(params, queryInfo);
|
|
|
|
|
|
- List<StudentApplyDetailDto> dataList = null;
|
|
|
+ List<StudentApplyDetailDto> dataList = new ArrayList<>();
|
|
|
int count = studentRegistrationDao.queryStudentDetailCount(params);
|
|
|
if (queryInfo.getIsExport() && count > 50000) {
|
|
|
throw new BizException("数据集太大,不能导出.最大数据集不能超过50000");
|
|
@@ -223,9 +223,6 @@ public class StudentRegistrationServiceImpl extends BaseServiceImpl<Long, Studen
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
- if (queryInfo.getPage() > pageInfo.getTotalPage()) {
|
|
|
- dataList = new ArrayList<>();
|
|
|
- }
|
|
|
pageInfo.setRows(dataList);
|
|
|
return pageInfo;
|
|
|
}
|