|
@@ -146,7 +146,7 @@ public class DownloadServiceImpl implements DownloadService {
|
|
|
htmlFile.getParentFile().mkdirs();
|
|
|
htmlFile.createNewFile();
|
|
|
}
|
|
|
- String htmlContent = createPdfNewUtil.replaceBlankHtmlContent(examCard.getContent());
|
|
|
+ String htmlContent = createPdfNewUtil.replaceBlankHtmlContent(examCard.getHtmlContent());
|
|
|
// 生成html文件
|
|
|
FileCopyUtils.copy(htmlContent.getBytes(StandardCharsets.UTF_8), htmlFile);
|
|
|
fileList.add(htmlFile);
|