|
|
@@ -473,7 +473,7 @@ public class ReportServiceImpl extends BaseServiceImpl<ReportMapper, Report> imp |
|
|
|
Image image = null; |
|
|
|
String url = reportInfoVO.getQuestionReportList().get(i).getFileMarkerUrl(); |
|
|
|
if (new UrlResource(url).exists()) { |
|
|
|
image = Image.getInstance(url); |
|
|
|
image = Image.getInstance("/data/java/tuoheng_lc/uploads/2022-08-18-17-30-54_frame-19128-19398_type-林斑_74d20d0c1ed811ed960b18c04d1a13ab-online-P20220818171703347-8c3e7407e6054db695aa0a07fe02bf0b_AI.jpg"); |
|
|
|
image.setAlignment(Image.ALIGN_CENTER); |
|
|
|
image.scalePercent(100); //依照比例缩放 |
|
|
|
image.setAbsolutePosition(0, 0); |