|
|
@ -18,6 +18,7 @@ import cokr.xit.fims.payer.PayerQuery;
|
|
|
|
import cokr.xit.fims.payer.service.PayerService;
|
|
|
|
import cokr.xit.fims.payer.service.PayerService;
|
|
|
|
import cokr.xit.fims.task.Task;
|
|
|
|
import cokr.xit.fims.task.Task;
|
|
|
|
import cokr.xit.foundation.data.DataObject;
|
|
|
|
import cokr.xit.foundation.data.DataObject;
|
|
|
|
|
|
|
|
import cokr.xit.interfaces.lvis.service.reg.BasicInfoExtRequest;
|
|
|
|
import cokr.xit.interfaces.lvis.service.reg.BasicInfoRequest;
|
|
|
|
import cokr.xit.interfaces.lvis.service.reg.BasicInfoRequest;
|
|
|
|
|
|
|
|
|
|
|
|
/**납부자 서비스의 웹 컨트롤러
|
|
|
|
/**납부자 서비스의 웹 컨트롤러
|
|
|
@ -112,14 +113,35 @@ public class PayerController extends ApplicationController {
|
|
|
|
|
|
|
|
|
|
|
|
@Task("CMN")
|
|
|
|
@Task("CMN")
|
|
|
|
@PostMapping(name = "차량/납부자 조회", value = "/vehicle.do")
|
|
|
|
@PostMapping(name = "차량/납부자 조회", value = "/vehicle.do")
|
|
|
|
public ModelAndView getVehicleOwner(BasicInfoRequest req) {
|
|
|
|
public ModelAndView getVehicleOwner(HttpServletRequest hreq) {
|
|
|
|
Payer payer = payerService.getVehicleOwner(req);
|
|
|
|
Payer payer = null;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(1 == 1) { //TODO:행공센연계여부
|
|
|
|
|
|
|
|
BasicInfoExtRequest req = new BasicInfoExtRequest();
|
|
|
|
|
|
|
|
req.setInqire_se_code(hreq.getParameter("inqire_se_code"));
|
|
|
|
|
|
|
|
req.setLevy_stdde(hreq.getParameter("levy_stdde"));
|
|
|
|
|
|
|
|
req.setVhrno(hreq.getParameter("vhrno"));
|
|
|
|
|
|
|
|
req.setVin(hreq.getParameter("vin"));
|
|
|
|
|
|
|
|
payer = payerService.getVehicleOwner(req);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
BasicInfoRequest req = new BasicInfoRequest();
|
|
|
|
|
|
|
|
req.setSggCd(hreq.getParameter("sggCd"));
|
|
|
|
|
|
|
|
req.setInqire_se_code(hreq.getParameter("inqire_se_code"));
|
|
|
|
|
|
|
|
req.setLevy_stdde(hreq.getParameter("levy_stdde"));
|
|
|
|
|
|
|
|
req.setOwner_mber_no(hreq.getParameter("owner_mber_no"));
|
|
|
|
|
|
|
|
req.setVhrno(hreq.getParameter("vhrno"));
|
|
|
|
|
|
|
|
req.setVin(hreq.getParameter("vin"));
|
|
|
|
|
|
|
|
payer = payerService.getVehicleOwner(req);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
boolean found = payer != null;
|
|
|
|
boolean found = payer != null;
|
|
|
|
return new ModelAndView("jsonView")
|
|
|
|
|
|
|
|
.addObject("found", found)
|
|
|
|
ModelAndView mav = new ModelAndView("jsonView");
|
|
|
|
.addObject("rtpyrId", found ? payer.getRtpyrId() : null)
|
|
|
|
mav.addObject("found", found);
|
|
|
|
.addObject("addrSn", found ? payer.getAddrSn() : null)
|
|
|
|
mav.addObject("rtpyrId", found ? payer.getRtpyrId() : null);
|
|
|
|
.addObject("vehicle", found ? payer.getVehicleInfo() : null);
|
|
|
|
mav.addObject("addrSn", found ? payer.getAddrSn() : null);
|
|
|
|
|
|
|
|
mav.addObject("vehicle", found ? payer.getVehicleInfo() : null);
|
|
|
|
|
|
|
|
return mav;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**납부자 정보를 반환한다.
|
|
|
|
/**납부자 정보를 반환한다.
|
|
|
|