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 aa86884e..7de271b4 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 @@ -222,7 +222,7 @@ public class PayerBean extends AbstractBean { .toList(); } - public List getVehicleOwners(BasicInfoExtRequest req) { + public Payer getVehicleOwner(BasicInfoExtRequest req) { Payer payper = null; //차적조회 @@ -246,7 +246,7 @@ public class PayerBean extends AbstractBean { payper = getPayer(bier.getRecord().get(0)); } - return List.of(payper); + return payper; } /**시군구 코드와 차량 기본정보에서 납부자 정보를 생성하거나, 등록정보에서 조회하여 반환한다.(차량번호 / 납부자 번호 / 시군구 기준)