|
@ -902,7 +902,7 @@ public class BusinessAlertServiceImpl implements IBusinessAlertService { |
|
|
FreemarkerUtil.renderTplFileToWord("预警导出.docx","alert.ftl",resultMap,response); |
|
|
FreemarkerUtil.renderTplFileToWord("预警导出.docx","alert.ftl",resultMap,response); |
|
|
} else if (bo.getExportType().equalsIgnoreCase("pdf")) { |
|
|
} else if (bo.getExportType().equalsIgnoreCase("pdf")) { |
|
|
try { |
|
|
try { |
|
|
HtmlConvertPdfHelper.htmlConvertPDF(resultMap,"pdfAlert.ftl"); |
|
|
HtmlConvertPdfHelper.renderTplFileToPDF("预警导出.pdf","pdfAlert.ftl",resultMap,response); |
|
|
} catch (Exception e) { |
|
|
} catch (Exception e) { |
|
|
log.error(e.getMessage(),e); |
|
|
log.error(e.getMessage(),e); |
|
|
} |
|
|
} |
|
|