根据案件id查附件

This commit is contained in:
18792927508
2023-11-30 15:04:09 +08:00
parent 45d23fbab6
commit de1644db2c
4 changed files with 53 additions and 3 deletions
@@ -32,7 +32,7 @@ public class PdfUtils {
* @param pdfFilePath 保存的路径
* @param htmlcontent:必须是完整的html格式,比如<html><body>123</body></html>
*/
public boolean htmlStringConvertToPDF(String pdfFilePath, String htmlcontent) {
public static boolean htmlStringConvertToPDF(String pdfFilePath, String htmlcontent) {
Document document = new Document();
PdfWriter writer = null;
try {