根据案件id查附件
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user