From c5d7d4c9c8ad4b08bcc5375de01bf4365e898b07 Mon Sep 17 00:00:00 2001 From: jjh Date: Fri, 20 Oct 2023 18:01:45 +0900 Subject: [PATCH] =?UTF-8?q?=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xit/fims/sndb/service/bean/SndngBean.java | 36 +++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/src/main/java/cokr/xit/fims/sndb/service/bean/SndngBean.java b/src/main/java/cokr/xit/fims/sndb/service/bean/SndngBean.java index d8d236b7..f9254778 100644 --- a/src/main/java/cokr/xit/fims/sndb/service/bean/SndngBean.java +++ b/src/main/java/cokr/xit/fims/sndb/service/bean/SndngBean.java @@ -846,7 +846,7 @@ public class SndngBean extends AbstractComponent { epostRcptDtl.setVractno9(sndngDtlInfo.string("BANK_NM9") + " " + sndngDtlInfo.string("VR_ACTNO9")); epostRcptDtl.setVractno10(sndngDtlInfo.string("BANK_NM10") + " " + sndngDtlInfo.string("VR_ACTNO10")); epostRcptDtl.setVractno11(sndngDtlInfo.string("BANK_NM11") + " " + sndngDtlInfo.string("VR_ACTNO11")); - + } // 과태료금액 epostRcptDtl.setRecevFinePrice(sndngDtlInfo.string("FFNLG_AMT")); // 납부 금액 @@ -929,6 +929,38 @@ public class SndngBean extends AbstractComponent { // 예외를 발생시켜서 오류메세지를 보내고 DB Rollback throw new RuntimeException("우편통합 발송 작업중 전자우편 상세 등록에 실패하였습니다."); } + +// if isStateUpdate then +// begin +// +// Edit; +// +// fData.CleanPark.qryGojiPrt_SetState2.ParamByName('GP_CON_KEY').AsString := im_con_key; // 2017.09.28 +// +// if (cdD.FieldByName('GP_REGIST_NO').AsString <> '') and +// (regist_gubun = '0') then +// begin +// // 등기번호가 있는데 일반일 경우 등기번호 업데이트 X +// fData.CleanPark.qryGojiPrt_SetState2.ParamByName('GP_REGIST_NO').AsString := cdD.FieldByName('GP_REGIST_NO').AsString; +// end +// else +// begin +// fData.CleanPark.qryGojiPrt_SetState2.ParamByName('GP_REGIST_NO').AsString := im_regt_no; // 등기번호 +// cdD.FieldByName('GP_REGIST_NO').AsString := im_regt_no; +// end; +// +// fData.CleanPark.qryGojiPrt_SetState2.ParamByName('GP_STATE').AsString := GOJI_PRT_GUBUN_POST; // 발송 +// fData.CleanPark.qryGojiPrt_SetState2.ParamByName('GP_CODE').AsString := FieldByName('GP_CODE').AsString; +// fData.CleanPark.qryGojiPrt_SetState2.ExecSQL; +// +// FieldByName('GP_STATE').AsString := GOJI_PRT_GUBUN_POST; +// Post; +// end; +// +// Inc(up_cnt); +// +// Next; +// end; // while not eof do begin } retMessage = "[S] 작업이 정상 처리 되었습니다."; @@ -1050,7 +1082,7 @@ public class SndngBean extends AbstractComponent { String retCode = ""; for (int iLoop = 0; iLoop < totalLength; iLoop++) { - temp = ((iLoop + vrfcCode.length()) % vrfcCode.length()); + temp = (iLoop + vrfcCode.length()) % vrfcCode.length(); cdTemp = cdTemp + (Integer.valueOf(strData.substring(iLoop, iLoop + 1)) * Integer.valueOf(vrfcCode.substring(temp, temp + 1))); }