HSSFWorkbook workbook = null;
CriteriaQuery cq = new CriteriaQuery(CourseEntity.class, dataGrid);
org.jeecgframework.core.extend.hqlsearch.HqlGenerateUtil.installHql(cq, course, request.getParameterMap());
List<CourseEntity> courses = this.courseService.getListByCriteriaQuery(cq,false);
workbook = ExcelExportUtil.exportExcel(new ExcelTitle("课程列表", "导出人:Jeecg",
"导出信息"), CourseEntity.class, courses);
fOut = response.getOutputStream();
workbook.write(fOut);
} catch (Exception e) {
} finally {