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(); String vhrno = basicInfo.getVhrno();
payer.setVhrno(vhrno); payer.setVhrno(vhrno);
payer.setRtpyrInptSeCd("02"); payer.setRtpyrInptSeCd("02");
switch (basicInfo.getMber_se_code()) {
case "11" : payer.setRtpyrSeCd("01"); payer.setRtpyrSeCd(
break; Map.of(
case "12" : payer.setRtpyrSeCd("02"); "11", "01",
break; "12", "02",
case "13" : payer.setRtpyrSeCd("03"); "13", "03",
break; "14", "04",
case "14" : payer.setRtpyrSeCd("04"); "15", "05"
break; ).getOrDefault(basicInfo.getMber_se_code(), "05")
case "15" : payer.setRtpyrSeCd("05"); );
break;
default : payer.setRtpyrSeCd("05");
break;
}
String rtpyrNo = basicInfo.getMber_se_no(); String rtpyrNo = basicInfo.getMber_se_no();
payer.setRtpyrNo(rtpyrNo); payer.setRtpyrNo(rtpyrNo);
payer.setRtpyrNm(basicInfo.getMber_nm()); payer.setRtpyrNm(basicInfo.getMber_nm());

Loading…
Cancel
Save