차적 조회 수정.

- 주민번호 암호화.
main
jjh 10 months ago
parent fe6e4e00b9
commit c3ac355f8f

@ -108,11 +108,15 @@ public class PayerQuery extends QueryRequest {
* @param rtpyrNo
* @return PayerQuery
*/
public void setRtpyrNo(String rtpyrNo) {
this.rtpyrNo = rtpyrNo;
}
/*
public PayerQuery setRtpyrNo(String rtpyrNo) {
this.rtpyrNo = rtpyrNo;
return this;
}
*/
public String getCrdnId() {
return ifEmpty(crdnId, () -> null);
}

@ -64,7 +64,8 @@ public class PayerBean extends AbstractComponent {
}
public Payer getPayer(String vhrno, String rtpyrNo) {
PayerQuery req = new PayerQuery().setVhrno(vhrno).setRtpyrNo(rtpyrNo);
PayerQuery req = new PayerQuery().setVhrno(vhrno);
req.setRtpyrNo(rtpyrNo);
List<Payer> payers = getPayers(req);
return !payers.isEmpty() ? payers.get(0) : null;
}

Loading…
Cancel
Save