wangliang 1 anno fa
parent
commit
0d296f8d99

+ 1 - 1
distributed-print-business/src/main/java/com/qmth/distributed/print/business/service/impl/DownloadServiceImpl.java

@@ -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);