@@ -251,6 +251,9 @@ public class ExportController extends BaseController {
}
List<StudentManageListDto> rows = studentManageService.queryHasCourseStudent(queryInfo);
+ if(rows.size() > 50000){
+ throw new BizException("数据集太大,不能导出.最大数据集不能超过50000");
+ }
// List<StudentManageListDto> rows = studentManageService.findStudentsByOrganId(queryInfo).getRows();
try {
HSSFWorkbook workbook = POIUtil.exportExcel(new String[]{"分部", "学员编号", "学员姓名", "性别", "家长姓名",