- 주민번호 암호화.
@ -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) {
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;