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(); // 합계 금액