|
@@ -115,7 +115,7 @@ public class ExcelUtils {
|
|
|
|
|
|
private static void userExport2(List<?> list, Class<?> pojoClass, String fileName, HttpServletResponse response,
|
|
|
ExportParams exportParams, float height, Boolean havTitle) {
|
|
|
- if(exportParams.getTitle().equals("病历质控报表")){
|
|
|
+ if(StringUtils.isNotEmpty(exportParams.getTitle()) && exportParams.getTitle().equals("病历质控报表")){
|
|
|
exportParams.setTitleHeight(Short.valueOf("20"));
|
|
|
};
|
|
|
Workbook workbook = ExcelExportUtil.exportExcel(exportParams, pojoClass, list);
|