> commonCodes = getCodesOf("FIM001", "FIM002", "FIM010", "FIM026");
mav.addObject("FIM001List", commonCodes.get("FIM001"));
@@ -37,7 +37,7 @@ public class AbstractCrdn06Controller extends ApplicationController {
}
/**단속자료 목록을 조회한다.
- * {@link Crdn06Service#getCrdnList(CrdnQuery)} 참고
+ * {@link Crdn06Service#getCrackdownList(CrdnQuery)} 참고
* @param req 단속자료 목록 조회 조건
* @return jsonView
* {
@@ -47,27 +47,14 @@ public class AbstractCrdn06Controller extends ApplicationController {
* "crdnTotal": 조회 결과 찾은 전체 건 수
* }
*/
- public ModelAndView getCrdnList(CrdnQuery req) {
+ public ModelAndView getCrackdownList(CrdnQuery req) {
setFetchSize(req);
return setCollectionInfo(
new ModelAndView("jsonView"),
- crdn06Service.getCrdnList(req),
+ crdn06Service.getCrackdownList(req),
"crdn"
);
}
- /**지정하는 단속아이디의 단속 정보를 반환한다.
- * @param crdnId 단속 아이디
- * @return fims/crdn/crdnData-info
- * {
- * "crdnInfo": {...}
- * }
- */
- public ModelAndView getCrdnInfo(String crdnId) {
- ModelAndView mav = new ModelAndView("fims/crdn/crdnData-info");
- if (!isEmpty(crdnId)) {
- mav.addObject("crdnInfo", crdn06Service.getCrdnInfo(crdnId));
- }
- return mav;
- }
+
}
diff --git a/src/main/java/cokr/xit/fims/crdn/web/Crdn06Controller.java b/src/main/java/cokr/xit/fims/crdn/web/Crdn06Controller.java
index 63e79b54..03773322 100644
--- a/src/main/java/cokr/xit/fims/crdn/web/Crdn06Controller.java
+++ b/src/main/java/cokr/xit/fims/crdn/web/Crdn06Controller.java
@@ -13,38 +13,22 @@ import cokr.xit.fims.crdn.service.CrdnQuery;
public class Crdn06Controller extends AbstractCrdn06Controller {
@RequestMapping(name="주정차과태료업무 단속자료 목록", value="/010/PVS/list.do")
- public ModelAndView getPvsCrdnList(CrdnQuery req) {
- return getCrdnList(req);
+ public ModelAndView getPvsCrackdownList(CrdnQuery req) {
+ return getCrackdownList(req);
}
@RequestMapping(name="전용차로과태료업무 단속자료 목록", value="/010/BPV/list.do")
- public ModelAndView getBpvCrdnList(CrdnQuery req) {
- return getCrdnList(req);
+ public ModelAndView getBpvCrackdownList(CrdnQuery req) {
+ return getCrackdownList(req);
}
@RequestMapping(name="장애인과태료업무 단속자료 목록", value="/010/DPV/list.do")
- public ModelAndView getDpvCrdnList(CrdnQuery req) {
- return getCrdnList(req);
+ public ModelAndView getDpvCrackdownList(CrdnQuery req) {
+ return getCrackdownList(req);
}
@RequestMapping(name="전기차과태료업무 단속자료 목록", value="/010/ECA/list.do")
- public ModelAndView getEcaCrdnList(CrdnQuery req) {
- return getCrdnList(req);
+ public ModelAndView getEcaCrackdownList(CrdnQuery req) {
+ return getCrackdownList(req);
}
- //TODO : 단속자료 상세화면은 여러화면에서 공통으로 사용하므로 통합조회 관련 소스로 이동이 필요함.
- @RequestMapping(name="주정차과태료업무 단속자료 정보", value="/미정/PVS/info.do")
- public ModelAndView getPvsCrdnInfo(String crdnId) {
- return getCrdnInfo(crdnId);
- }
- @RequestMapping(name="전용차로과태료업무 단속자료 정보", value="/미정/BPV/info.do")
- public ModelAndView getBpvCrdnInfo(String crdnId) {
- return getCrdnInfo(crdnId);
- }
- @RequestMapping(name="장애인과태료업무 단속자료 정보", value="/미정/DPV/info.do")
- public ModelAndView getDpvCrdnInfo(String crdnId) {
- return getCrdnInfo(crdnId);
- }
- @RequestMapping(name="전기차과태료업무 단속자료 정보", value="/미정/ECA/info.do")
- public ModelAndView getEcaCrdnInfo(String crdnId) {
- return getCrdnInfo(crdnId);
- }
+
}
diff --git a/src/main/resources/sql/mapper/fims/crdn/crdn06-mapper.xml b/src/main/resources/sql/mapper/fims/crdn/crdn06-mapper.xml
index 15352578..c81934d6 100644
--- a/src/main/resources/sql/mapper/fims/crdn/crdn06-mapper.xml
+++ b/src/main/resources/sql/mapper/fims/crdn/crdn06-mapper.xml
@@ -10,7 +10,7 @@
-
+
SELECT A.CRDN_ID
, A.SGG_CD
@@ -91,14 +91,14 @@
-