Преглед на файлове

修改导出报告名称

tags/V1.0.1^2
wanjing преди 1 година
родител
ревизия
dd82ec3f2b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/airData/report/ExportReportService.java

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/airData/report/ExportReportService.java Целия файл

@@ -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()) {

Loading…
Отказ
Запис