From 5d3838e76370744758afbcc12046f09fa4763d6c Mon Sep 17 00:00:00 2001 From: jjh Date: Fri, 10 May 2024 15:29:47 +0900 Subject: [PATCH] =?UTF-8?q?getOcrband1=20=ED=98=B8=EC=B6=9C=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 --- .../java/cokr/xit/fims/cmmn/pdf/print/format/Nht.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/main/java/cokr/xit/fims/cmmn/pdf/print/format/Nht.java b/src/main/java/cokr/xit/fims/cmmn/pdf/print/format/Nht.java index bf9791de..24a4eac0 100644 --- a/src/main/java/cokr/xit/fims/cmmn/pdf/print/format/Nht.java +++ b/src/main/java/cokr/xit/fims/cmmn/pdf/print/format/Nht.java @@ -237,23 +237,24 @@ public class Nht extends PDFPrintFormat { } case "ocr1" -> { - String deptCode = dataObject.string("DEPT_CD"); + String spclBizCd = dataObject.string("SPCL_BIZ_CD"); String fyr = dataObject.string("FYR"); String acntgSeCd = dataObject.string("ACNTG_SE_CD"); String txitmCd = dataObject.string("TXITM_CD"); String levyNo = dataObject.string("LEVY_NO"); String inspyNo = dataObject.string("INSPY_NO"); - result = CmmnUtil.getOcrband1(deptCode,fyr, acntgSeCd, txitmCd, levyNo, inspyNo); + result = CmmnUtil.getOcrband1(deptCode, spclBizCd, fyr, acntgSeCd, txitmCd, levyNo, inspyNo); } case "ocr2" -> { String deptCode = dataObject.string("DEPT_CD"); + String spclBizCd = dataObject.string("SPCL_BIZ_CD"); String fyr = dataObject.string("FYR"); String acntgSeCd = dataObject.string("ACNTG_SE_CD"); String txitmCd = dataObject.string("TXITM_CD"); String levyNo = dataObject.string("LEVY_NO"); String inspyNo = dataObject.string("INSPY_NO"); - String ocrBand1 = CmmnUtil.getOcrband1(deptCode, fyr, acntgSeCd, txitmCd, levyNo, inspyNo); + String ocrBand1 = CmmnUtil.getOcrband1(deptCode, spclBizCd, fyr, acntgSeCd, txitmCd, levyNo, inspyNo); String levySeCd = dataObject.string("LEVY_SE_CD"); int sumAmt = dataObject.number("SUM_AMT").intValue(); // 합계 금액 @@ -262,12 +263,13 @@ public class Nht extends PDFPrintFormat { } case "ocr3" -> { String deptCode = dataObject.string("DEPT_CD"); + String spclBizCd = dataObject.string("SPCL_BIZ_CD"); String fyr = dataObject.string("FYR"); String acntgSeCd = dataObject.string("ACNTG_SE_CD"); String txitmCd = dataObject.string("TXITM_CD"); String levyNo = dataObject.string("LEVY_NO"); String inspyNo = dataObject.string("INSPY_NO"); - String ocrBand1 = CmmnUtil.getOcrband1(deptCode, fyr, acntgSeCd, txitmCd, levyNo, inspyNo); + String ocrBand1 = CmmnUtil.getOcrband1(deptCode, spclBizCd, fyr, acntgSeCd, txitmCd, levyNo, inspyNo); String levySeCd = dataObject.string("LEVY_SE_CD"); int sumAmt = dataObject.number("SUM_AMT").intValue(); // 합계 금액