|
|
|
@ -12,7 +12,7 @@ import org.apache.pdfbox.pdmodel.PDPageTree;
|
|
|
|
|
|
|
|
|
|
public class PDFUtil {
|
|
|
|
|
|
|
|
|
|
public static List<Extraction> extract(String pdfPath, String templateId) {
|
|
|
|
|
public static List<Extraction> extract(String pdfPath, String taskSeCd, String templateId) {
|
|
|
|
|
|
|
|
|
|
List<Extraction> extractList = new ArrayList<Extraction>();
|
|
|
|
|
|
|
|
|
@ -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);
|
|
|
|
|