From 25dabf144818d38682afb53393a618bf3c789c7b Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Thu, 15 Feb 2024 17:31:40 +0900 Subject: [PATCH] =?UTF-8?q?pdf=ED=8C=8C=EC=9D=BC=20=EB=8B=A4=EC=9A=B4?= =?UTF-8?q?=EB=A1=9C=EB=93=9C=20=EB=B0=8F=20=EC=B6=9C=EB=A0=A5=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xit/fims/cmmn/pdf/print/PDFPrintUtil.java | 11 +++++- .../service/IntegrationSearchService.java | 26 ++++++++++--- .../bean/IntegrationSearchServiceBean.java | 21 +++++++--- .../xit/fims/sprt/web/Sprt01Controller.java | 16 ++++---- .../WEB-INF/jsp/fims/sprt/sprt01140-info.jsp | 39 ++++++++++++------- .../WEB-INF/jsp/fims/sprt/sprt01150-info.jsp | 38 +++++++++++------- .../WEB-INF/jsp/fims/sprt/sprt01200-main.jsp | 22 ++++++----- src/main/webapp/resources/html/pdf.html | 14 +++---- .../webapp/resources/js/base/base-fims.js | 14 ++++--- 9 files changed, 127 insertions(+), 74 deletions(-) diff --git a/src/main/java/cokr/xit/fims/cmmn/pdf/print/PDFPrintUtil.java b/src/main/java/cokr/xit/fims/cmmn/pdf/print/PDFPrintUtil.java index 990f0443..3a34c0f7 100644 --- a/src/main/java/cokr/xit/fims/cmmn/pdf/print/PDFPrintUtil.java +++ b/src/main/java/cokr/xit/fims/cmmn/pdf/print/PDFPrintUtil.java @@ -30,6 +30,8 @@ public class PDFPrintUtil extends PrintUtil { private float[] paperMilimeter = new float[2]; + private String formatKorName; + public void setting(String paperType) { if(paperType.equals("01")) { this.paperMilimeter = new float[] {210.0f , 297.0f}; @@ -38,6 +40,14 @@ public class PDFPrintUtil extends PrintUtil { } } + public String getFormatKorName() { + return this.formatKorName; + } + + public String setFormatKorName(String formatKorName) { + return this.formatKorName = formatKorName; + } + public String filePathForNewFile() { SimpleDateFormat ymdhmsFormat = new SimpleDateFormat("yyyyMMddHHmmss"); @@ -514,5 +524,4 @@ public class PDFPrintUtil extends PrintUtil { } } - } diff --git a/src/main/java/cokr/xit/fims/sprt/service/IntegrationSearchService.java b/src/main/java/cokr/xit/fims/sprt/service/IntegrationSearchService.java index f9b8b28b..49120d73 100644 --- a/src/main/java/cokr/xit/fims/sprt/service/IntegrationSearchService.java +++ b/src/main/java/cokr/xit/fims/sprt/service/IntegrationSearchService.java @@ -34,15 +34,31 @@ public interface IntegrationSearchService { /** 한글 서식 출력물을 생성한다. * @param formatType 서식유형 ,formatName 서식명, printOption 출력옵션, crdnIds 출력대상 * @return map 출력 요청 결과 - *