From c3ac355f8f84f93622e4f489ca4a8df0d2826f94 Mon Sep 17 00:00:00 2001 From: jjh Date: Thu, 25 Jan 2024 10:45:27 +0900 Subject: [PATCH] =?UTF-8?q?=EC=B0=A8=EC=A0=81=20=EC=A1=B0=ED=9A=8C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95.=20=20=20-=20=EC=A3=BC=EB=AF=BC=EB=B2=88?= =?UTF-8?q?=ED=98=B8=20=EC=95=94=ED=98=B8=ED=99=94.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cokr/xit/fims/payer/PayerQuery.java | 6 +++++- .../java/cokr/xit/fims/payer/service/bean/PayerBean.java | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) 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; }