|
|
@@ -66,7 +66,7 @@ public class ExportReportService { |
|
|
|
Inspection inspection = (Inspection) result.getData(); |
|
|
|
AirDataType airDataType = airDataTypeMapper.selectById(request.getAirDataTypeId()); |
|
|
|
|
|
|
|
String filename = inspection.getCode() + "-" + airDataType.getDataType() + "(" +request.getGridSize() + ")浓度分布报告" + ".doc"; |
|
|
|
String filename = inspection.getName() + "-" + inspection.getCode() + "-" + airDataType.getDataType() + ".doc"; |
|
|
|
String filePath = UploadFileConfig.uploadFolder + "/report/" + filename; |
|
|
|
File fd = new File(UploadFileConfig.uploadFolder + "/report"); |
|
|
|
if (!fd.exists()) { |