컬럼명 변경.

inspyNo -> ispySn;
main
jjh 4 months ago
parent ba0d5156f7
commit f6049584f6

@ -464,7 +464,7 @@ public class CmmnUtil {
return retCode;
}
public static String getOcrband1(String deptCode, String spclBizCd, String fyr, String acntgSeCd, String txitmCd, String levyNo, String inspyNo) {
public static String getOcrband1(String deptCode, String spclBizCd, String fyr, String acntgSeCd, String txitmCd, String levyNo, String ispySn) {
if(deptCode.equals("")) {
deptCode = "0000000";
}
@ -483,10 +483,10 @@ public class CmmnUtil {
if(levyNo.equals("")) {
levyNo = "000000";
}
if(inspyNo.equals("")) {
inspyNo = "00";
if(ispySn.equals("")) {
ispySn = "00";
}
String band1 = deptCode + spclBizCd + fyr + acntgSeCd + txitmCd + levyNo + inspyNo;
String band1 = deptCode + spclBizCd + fyr + acntgSeCd + txitmCd + levyNo + ispySn;
String ocrVrfcCode = getOcrVrfcCode("12357", band1, 31);
band1 = band1 + ocrVrfcCode;
@ -561,8 +561,8 @@ public class CmmnUtil {
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 ocr0 = CmmnUtil.getOcrband1(deptCode, spclBizCd, fyr, acntgSeCd, txitmCd, levyNo, inspyNo);
String ispySn = dataObject.string("ISPY_SN");
String ocr0 = CmmnUtil.getOcrband1(deptCode, spclBizCd, fyr, acntgSeCd, txitmCd, levyNo, ispySn);
dataObject.set("OCR0", ocr0);
dataObject.set("OCR0_1", ocr0.substring(0, 17));

@ -243,8 +243,8 @@ public class Nht extends PDFPrintFormat {
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, spclBizCd, fyr, acntgSeCd, txitmCd, levyNo, inspyNo);
String ispySn = dataObject.string("ISPY_SN");
result = CmmnUtil.getOcrband1(deptCode, spclBizCd, fyr, acntgSeCd, txitmCd, levyNo, ispySn);
}
case "ocr2" -> {
String deptCode = dataObject.string("DEPT_CD");
@ -253,8 +253,8 @@ public class Nht extends PDFPrintFormat {
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, spclBizCd, fyr, acntgSeCd, txitmCd, levyNo, inspyNo);
String ispySn = dataObject.string("ISPY_SN");
String ocrBand1 = CmmnUtil.getOcrband1(deptCode, spclBizCd, fyr, acntgSeCd, txitmCd, levyNo, ispySn);
String levySeCd = dataObject.string("LEVY_SE_CD");
int sumAmt = dataObject.number("SUM_AMT").intValue(); // 합계 금액
@ -268,8 +268,8 @@ public class Nht extends PDFPrintFormat {
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, spclBizCd, fyr, acntgSeCd, txitmCd, levyNo, inspyNo);
String ispySn = dataObject.string("ISPY_SN");
String ocrBand1 = CmmnUtil.getOcrband1(deptCode, spclBizCd, fyr, acntgSeCd, txitmCd, levyNo, ispySn);
String levySeCd = dataObject.string("LEVY_SE_CD");
int sumAmt = dataObject.number("SUM_AMT").intValue(); // 합계 금액
@ -423,7 +423,7 @@ public class Nht extends PDFPrintFormat {
dataObject.put("ACNTG_SE_CD", "61");
dataObject.put("TXITM_CD", "234006");
dataObject.put("LEVY_NO", "123456");
dataObject.put("INSPY_NO", "00");
dataObject.put("ISPY_SN", "00");
dataObject.put("LEVY_SE_CD", "01");
dataObject.put("PCPTAX", "80000"); //본세

@ -284,7 +284,7 @@ public class Levy01Controller extends ApplicationController {
valueMap.put("세목코드", format.of("TXITM_CD").style(center));
valueMap.put("세목명", format.of("TXITM_NM").style(center));
valueMap.put("부과번호", format.of("LEVY_NO").style(center));
valueMap.put("분납순번", format.of("INSPY_NO").style(center));
valueMap.put("분납순번", format.of("ISPY_SN").style(center));
valueMap.put("부과구분", format.of("LEVY_SE_NM").style(center));
valueMap.put("통합구분", format.of("UNTY_SE_NM").style(center));
valueMap.put("감경구분", format.of("RDCT_SE_NM").style(center));

@ -47,7 +47,7 @@ public class RcvmtQuery extends CmmnQuery {
private String txitmCd; // 수납(TB_RCVMT)_세목 코드
private String operItemCd; // 수납(TB_RCVMT)_운영 항목 코드
private String levyNo; // 수납(TB_RCVMT)_부과 번호
private String inspyNo; // 수납(TB_RCVMT)_분납 번호
private String ispySn; // 수납(TB_RCVMT)_분납 번호
private String rcvmtSn; // 수납(TB_RCVMT)_수납 일련번호
private String tsfYmd; // 수납(TB_RCVMT)_이체 일자
private String acntgYmd; // 수납(TB_RCVMT)_회계 일자
@ -315,12 +315,12 @@ public class RcvmtQuery extends CmmnQuery {
return self();
}
public String getInspyNo() {
return ifEmpty(inspyNo, () -> null);
public String getIspySn() {
return ifEmpty(ispySn, () -> null);
}
public <T extends RcvmtQuery> T setInspyNo(String inspyNo) {
this.inspyNo = inspyNo;
public <T extends RcvmtQuery> T setIspySn(String ispySn) {
this.ispySn = ispySn;
return self();
}

@ -230,8 +230,8 @@
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('RPM_SZR_VHRNO', this.innerText, 'match', 'part');">대체압류차량</th>
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('SZR_RMV_YMD', this.innerText, 'match', 'part');">압류해제일자</th>
<th class="cmn" style="width: 240px;" onclick="searchFromGridTitle('EPAYNO', this.innerText, 'match', 'part');">전자납부번호</th>
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('BANK_NM', this.innerText, 'match', 'part');">은행명1</th>
<th class="cmn" style="width: 200px;" onclick="searchFromGridTitle('VR_ACTNO', this.innerText, 'match', 'part');">가상계좌번호1</th>
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('BANK_NM', this.innerText, 'match', 'part');">은행명</th>
<th class="cmn" style="width: 200px;" onclick="searchFromGridTitle('VR_ACTNO', this.innerText, 'match', 'part');">가상계좌번호</th>
<th class="cmn" style="width: 180px;" onclick="searchFromGridTitle('CRDN_YMD', this.innerText, 'ymd', '');">단속일시</th>
<th class="cmn" style="width: 140px;" onclick="searchFromGridTitle('VHRNO', this.innerText, 'match', 'part');">차량번호</th>
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('CRDN_STDG_NM', this.innerText, 'match', 'part');">법정동</th>

@ -133,7 +133,7 @@
<div class="col-md-3">
<label for="levyNo--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">부과번호</label>
<input type="text" class="form-control w-20" id="levyNo--${pageName}" name="levyNo" data-map="LEVY_NO" readonly />
<input type="text" class="form-control w-10" id="inspyNo--${pageName}" name="inspyNo" data-map="INSPY_NO" readonly />
<input type="text" class="form-control w-10" id="ispySn--${pageName}" name="ispySn" data-map="ISPY_SN" readonly />
</div>
<!-- 수납 순번 -->
<div class="col-md-3">

Loading…
Cancel
Save