| | |
| | | CIAQ("CIAQ", "CIAQ报告"), |
| | | VAQ("VAQ", "VAQ报告"), |
| | | LAQ("LAQ", "LAQ报告"), |
| | | APIFan("APIFan","APIFan报告"); |
| | | API_Fan("API_Fan","API_Fan报告"); |
| | | private final String code; |
| | | private final String message; |
| | | ReportTypeEnum(String code, String message) { |
| | |
| | | |
| | | //PAQ、MAQTR采用、CIAQ、APIFan新的doc转pdf |
| | | if(ReportTypeEnum.PAQ.getCode().equals(reportType) || ReportTypeEnum.MAQTR.getCode().equals(reportType) |
| | | || ReportTypeEnum.CIAQ.getCode().equals(reportType) ||ReportTypeEnum.APIFan.getCode().equals(reportType)){ |
| | | || ReportTypeEnum.CIAQ.getCode().equals(reportType) ||ReportTypeEnum.API_Fan.getCode().equals(reportType)){ |
| | | PdfUtil.convertPDF(EssConfig.getProfile() + "/" + reportName); |
| | | }else if(ReportTypeEnum.LAQ.getCode().equals(reportType)){ |
| | | PdfUtil.dockerConvertPDF(EssConfig.getProfile(),EssConfig.getDocx2pdfPath(),reportName); |
| | |
| | | CIAQChart.changeChart(document, textMap); |
| | | } else if (StringUtils.equals(reportType, ReportTypeEnum.LAQ.getCode())) { |
| | | LAQChart.changeChart(document, textMap); |
| | | } else if(StringUtils.equals(reportType, ReportTypeEnum.APIFan.getCode())) |
| | | } else if(StringUtils.equals(reportType, ReportTypeEnum.API_Fan.getCode())) |
| | | { |
| | | APIFanChart.changeChart(document,textMap); |
| | | } |
| | |
| | | package com.ots.project.tool.report.reportCalculation.request; |
| | | |
| | | public enum CalculationTypeEnum { |
| | | MAQ, SAQ, RUILIN, CAQ, JAQ,PAQ,CIAQ,APIFan |
| | | MAQ, SAQ, RUILIN, CAQ, JAQ,PAQ,CIAQ,API_Fan |
| | | } |