From 20b321ff9dc47ce39c6fa6f4f8469b3f217499f2 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Mon, 8 Jan 2024 17:16:51 +0900 Subject: [PATCH] =?UTF-8?q?pdf=EC=B6=94=EC=B6=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cokr/xit/fims/cmmn/pdf/PDFUtil.java | 4 ++-- src/main/webapp/resources/html/fileUpload.html | 9 ++++++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/main/java/cokr/xit/fims/cmmn/pdf/PDFUtil.java b/src/main/java/cokr/xit/fims/cmmn/pdf/PDFUtil.java index 1560e2bd..a9006c16 100644 --- a/src/main/java/cokr/xit/fims/cmmn/pdf/PDFUtil.java +++ b/src/main/java/cokr/xit/fims/cmmn/pdf/PDFUtil.java @@ -12,7 +12,7 @@ import org.apache.pdfbox.pdmodel.PDPageTree; public class PDFUtil { - public static List extract(String pdfPath, String templateId) { + public static List extract(String pdfPath, String taskSeCd, String templateId) { List extractList = new ArrayList(); @@ -42,7 +42,7 @@ public class PDFUtil { extraction = new Extraction(); extraction.setPage(pageIndex+1); - //설정 = mapper.get설정(query.setSggCd().setTemplateId(templateId)); + //설정 = mapper.get설정(query.setSggCd().setTaskSeCd(taskSeCd).setTemplateId(templateId)); String epayNo = ExtractText.getExtractByStng(pdDocument, pageIndex+1, 0, 0, 100, 100); extraction.setEpayNo(epayNo); diff --git a/src/main/webapp/resources/html/fileUpload.html b/src/main/webapp/resources/html/fileUpload.html index 4e6d9d64..ccb4c3c8 100644 --- a/src/main/webapp/resources/html/fileUpload.html +++ b/src/main/webapp/resources/html/fileUpload.html @@ -130,6 +130,10 @@
+ +