Browse Source

处理下载报告中图片字段问题

tags/v1.0.0^2
wanjing 1 year ago
parent
commit
02611ebb2a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/report/export/GenerateReportWordService.java

+ 2
- 2
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/report/export/GenerateReportWordService.java View File

@@ -295,7 +295,7 @@ public class GenerateReportWordService {
str = "问题图片";
cell.add(new Paragraph(str, font));
} else if (j == 6) {
cell = this.getImageCell(inspectionFile.getFileThumbnail());;
cell = this.getImageCell(CommonConfig.imageURL + inspectionFile.getFileThumbnail());;
}
table.addCell(cell);
}
@@ -349,7 +349,7 @@ public class GenerateReportWordService {
} else {
imageTileCell = this.getCell(font, "处理图片" + (i+1));
}
imageUrl = list.get(i);
imageUrl = CommonConfig.imageURL + list.get(i);
Cell imageCell = this.getImageCell(imageUrl);
table.addCell(imageTileCell);
table.addCell(imageCell);

Loading…
Cancel
Save