| | |
| | | reportType = getTypeIfIsSAQ(tReportTemplate, reportType); |
| | | reportType = getPositionIfJAQ(textMap, reportType); |
| | | reportName = textMap.get("sendEmailFileName") + "_" + reportType + "_" + ReportTypeNameEnum.valueOf(tReportTemplate.getTemplateType()).getCode() + "_" + ReportTypeNameEnum.valueOf(tReportTemplate.getLangType()).getCode() + ".docx"; |
| | | reportName = reportName.replace("\t",""); |
| | | reportName = reportName.replaceAll(" ", "_"); |
| | | |
| | | //模板文件需要加锁 |
| | |
| | | }else if(ReportTypeEnum.LAQ.getCode().equals(reportType)){ |
| | | // 获取开始时间 |
| | | long startTime = System.currentTimeMillis(); |
| | | |
| | | // if(textMap.containsKey("allList")) |
| | | // { |
| | | // PdfUtil.convertPDF(EssConfig.getProfile() + "/" + reportName); |
| | | // } |
| | | // else |
| | | // { |
| | | // |
| | | // } |
| | | |
| | | PdfUtil.dockerConvertPDF(EssConfig.getProfile(),EssConfig.getDocx2pdfPath(),reportName); |
| | | |
| | | // 获取结束时间 |