getPayer(BasicInfoResponse.BasicInfo) 수정

main
mjkhan21 10 months ago
parent 9194619846
commit 15ef9042eb

@ -132,20 +132,16 @@ public class PayerBean extends AbstractComponent {
String vhrno = basicInfo.getVhrno();
payer.setVhrno(vhrno);
payer.setRtpyrInptSeCd("02");
switch (basicInfo.getMber_se_code()) {
case "11" : payer.setRtpyrSeCd("01");
break;
case "12" : payer.setRtpyrSeCd("02");
break;
case "13" : payer.setRtpyrSeCd("03");
break;
case "14" : payer.setRtpyrSeCd("04");
break;
case "15" : payer.setRtpyrSeCd("05");
break;
default : payer.setRtpyrSeCd("05");
break;
}
payer.setRtpyrSeCd(
Map.of(
"11", "01",
"12", "02",
"13", "03",
"14", "04",
"15", "05"
).getOrDefault(basicInfo.getMber_se_code(), "05")
);
String rtpyrNo = basicInfo.getMber_se_no();
payer.setRtpyrNo(rtpyrNo);
payer.setRtpyrNm(basicInfo.getMber_nm());

Loading…
Cancel
Save