납부자 변경이력 조회 추가.

main
jjh 1 year ago
parent 8cbb39d619
commit 75103733d8

@ -73,7 +73,7 @@ public interface PayerService {
* <li> false</li> * <li> false</li>
* </ul> * </ul>
*/ */
String createPayer(Payer payer); String createCrdnPayer(Payer payer);
/** . /** .
* @param req * @param req

@ -196,14 +196,14 @@ public class PayerBean extends AbstractComponent {
return dataCrdn; return dataCrdn;
} }
/** . /** , ID .
* @param payer * @param payer
* @return * @return
* <ul><li> true</li> * <ul><li> true</li>
* <li> false</li> * <li> false</li>
* </ul> * </ul>
*/ */
public String createPayer(Payer payer) { public String createCrdnPayer(Payer payer) {
// 변수 선언 // 변수 선언
boolean retSuccess = false; // DB 처리 결과 boolean retSuccess = false; // DB 처리 결과
String retMessage = "[F] "; // 처리 결과 메시지 String retMessage = "[F] "; // 처리 결과 메시지

@ -74,8 +74,8 @@ public class PayerServiceBean extends AbstractServiceBean implements PayerServic
} }
@Override @Override
public String createPayer(Payer payer) { public String createCrdnPayer(Payer payer) {
return payerBean.createPayer(payer); return payerBean.createCrdnPayer(payer);
} }
@Override @Override

@ -38,7 +38,8 @@ public class PayerController extends ApplicationController {
, remove = "/remove.do" // 납부자 제거 , remove = "/remove.do" // 납부자 제거
, getVehicleOwner = "/vehicle.do" // 차량/납부자 조회 , getVehicleOwner = "/vehicle.do" // 차량/납부자 조회
, getPayerInfo = "/info.do" // 납부자 정보 조회 , getPayerInfo = "/info.do" // 납부자 정보 조회
, createPayer = "/createPayer.do" // 납부자 대장 등록 , createCrdnPayer = "/createCrdnPayer.do" // 단속, 납부자 대장 등록
, getPayerHstrys = "/getPayerHstrys.do" // 납부자 변경 이력 조회
; ;
} }
@ -161,9 +162,9 @@ public class PayerController extends ApplicationController {
* "saved": true, false * "saved": true, false
* }</code></pre> * }</code></pre>
*/ */
public ModelAndView createPayer(Payer payer) { public ModelAndView createCrdnPayer(Payer payer) {
boolean saved = false; boolean saved = false;
String retMessage = payerService.createPayer(payer); String retMessage = payerService.createCrdnPayer(payer);
if (retMessage.contains("[S]")) { if (retMessage.contains("[S]")) {
saved = true; saved = true;
@ -176,4 +177,18 @@ public class PayerController extends ApplicationController {
.addObject("retMessage", retMessage); .addObject("retMessage", retMessage);
} }
/** .<br />
* {@link PayerService#getPayerList(PayerQuery)}
* @param req
* @return jsonView
* <pre><code> {
* "payerList": [ ]
* }</code></pre>
*/
public ModelAndView getPayerHstrys(PayerQuery req) {
List<?> result = payerService.getPayerHstrys(req);
return setCollectionInfo(new ModelAndView("jsonView"), result, "payerHstry");
}
} }

@ -584,9 +584,15 @@ public class BpvController {
} }
@Override @Override
@RequestMapping(name="전용차로과태료업무 납부자 등록", value=METHOD_URL.createPayer) @RequestMapping(name="전용차로과태료업무 납부자 등록", value=METHOD_URL.createCrdnPayer)
public ModelAndView createPayer(Payer payer) { public ModelAndView createCrdnPayer(Payer payer) {
return super.createPayer(payer); return super.createCrdnPayer(payer);
}
@Override
@RequestMapping(name="전용차로과태료업무 납부자 변경 이력 조회", value=METHOD_URL.getPayerHstrys)
public ModelAndView getPayerHstrys(PayerQuery req) {
return super.getPayerHstrys(req);
} }
} }

@ -618,9 +618,15 @@ public class DpvController {
} }
@Override @Override
@RequestMapping(name="장애인과태료업무 납부자 등록", value=METHOD_URL.createPayer) @RequestMapping(name="장애인과태료업무 납부자 등록", value=METHOD_URL.createCrdnPayer)
public ModelAndView createPayer(Payer payer) { public ModelAndView createCrdnPayer(Payer payer) {
return super.createPayer(payer); return super.createCrdnPayer(payer);
}
@Override
@RequestMapping(name="장애인과태료업무 납부자 변경 이력 조회", value=METHOD_URL.getPayerHstrys)
public ModelAndView getPayerHstrys(PayerQuery req) {
return super.getPayerHstrys(req);
} }
} }

@ -590,9 +590,15 @@ public class EcaController {
} }
@Override @Override
@RequestMapping(name="전기차과태료업무 납부자 등록", value=METHOD_URL.createPayer) @RequestMapping(name="전기차과태료업무 납부자 등록", value=METHOD_URL.createCrdnPayer)
public ModelAndView createPayer(Payer payer) { public ModelAndView createCrdnPayer(Payer payer) {
return super.createPayer(payer); return super.createCrdnPayer(payer);
}
@Override
@RequestMapping(name="전기차과태료업무 납부자 변경 이력 조회", value=METHOD_URL.getPayerHstrys)
public ModelAndView getPayerHstrys(PayerQuery req) {
return super.getPayerHstrys(req);
} }
} }

@ -595,9 +595,15 @@ public class PvsController {
} }
@Override @Override
@RequestMapping(name="주정차과태료업무 납부자 등록", value=METHOD_URL.createPayer) @RequestMapping(name="주정차과태료업무 납부자 등록", value=METHOD_URL.createCrdnPayer)
public ModelAndView createPayer(Payer payer) { public ModelAndView createCrdnPayer(Payer payer) {
return super.createPayer(payer); return super.createCrdnPayer(payer);
}
@Override
@RequestMapping(name="주정차과태료업무 납부자 변경 이력 조회", value=METHOD_URL.getPayerHstrys)
public ModelAndView getPayerHstrys(PayerQuery req) {
return super.getPayerHstrys(req);
} }
} }

@ -150,8 +150,8 @@
, keymapper : info => info ? info.RTPYR_ID : "" , keymapper : info => info ? info.RTPYR_ID : ""
, dataGetter : obj => obj.payerInfo , dataGetter : obj => obj.payerInfo
, urls : { , urls : {
create : wctx.url(${pageName}PrefixUrl + "/createPayer.do") // 등록 create : wctx.url(${pageName}PrefixUrl + "/createCrdnPayer.do") // 등록
, update : wctx.url(${pageName}PrefixUrl + "/updatePayer.do") // 수정 , update : wctx.url(${pageName}PrefixUrl + "/update.do") // 수정
} }
, formats : { , formats : {
CRDN_YMD_TM : datetimeFormat CRDN_YMD_TM : datetimeFormat
@ -163,7 +163,7 @@
${pageName}Fields.set(item); ${pageName}Fields.set(item);
// 업무구분에 따른 url 변경 // 업무구분에 따른 url 변경
${pageName}Control.urls.create = wctx.url(item.data.TASK_SE_CD + ${pageName}PrefixUrl + "/createPayer.do"); ${pageName}Control.urls.create = wctx.url(item.data.TASK_SE_CD + ${pageName}PrefixUrl + "/createCrdnPayer.do");
${pageName}Control.urls.update = wctx.url(item.data.TASK_SE_CD + ${pageName}PrefixUrl + "/update.do"); ${pageName}Control.urls.update = wctx.url(item.data.TASK_SE_CD + ${pageName}PrefixUrl + "/update.do");
} }

Loading…
Cancel
Save