diff --git a/src/main/java/cokr/xit/fims/payer/PayerQuery.java b/src/main/java/cokr/xit/fims/payer/PayerQuery.java index 7a52fee4..0586843c 100644 --- a/src/main/java/cokr/xit/fims/payer/PayerQuery.java +++ b/src/main/java/cokr/xit/fims/payer/PayerQuery.java @@ -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); } diff --git a/src/main/java/cokr/xit/fims/payer/service/bean/PayerBean.java b/src/main/java/cokr/xit/fims/payer/service/bean/PayerBean.java index bc50c640..36f03231 100644 --- a/src/main/java/cokr/xit/fims/payer/service/bean/PayerBean.java +++ b/src/main/java/cokr/xit/fims/payer/service/bean/PayerBean.java @@ -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 payers = getPayers(req); return !payers.isEmpty() ? payers.get(0) : null; }