getCrdnList(CrdnQuery req) {
- return crdnBean.getCrdnList(req);
+ return crdn06Bean.getCrdnList(req);
}
@Override
public DataObject getCrdnInfo(String crdnId) {
- return crdnBean.getCrdnInfo(crdnId);
+ return crdn06Bean.getCrdnInfo(crdnId);
}
}
diff --git a/src/main/java/cokr/xit/fims/crdn/web/AbstractCrdn0600Controller.java b/src/main/java/cokr/xit/fims/crdn/web/AbstractCrdn0600Controller.java
deleted file mode 100644
index 838ff160..00000000
--- a/src/main/java/cokr/xit/fims/crdn/web/AbstractCrdn0600Controller.java
+++ /dev/null
@@ -1,51 +0,0 @@
-package cokr.xit.fims.crdn.web;
-
-import javax.annotation.Resource;
-
-import org.springframework.web.servlet.ModelAndView;
-
-import cokr.xit.base.web.ApplicationController;
-import cokr.xit.fims.crdn.service.CrdnQuery;
-import cokr.xit.fims.crdn.service.CrdnService;
-import cokr.xit.foundation.web.AbstractController;
-
-public class AbstractCrdn0600Controller extends ApplicationController {
-
- @Resource(name="crdnService")
- private CrdnService crdnService;
-
- /**단속자료 목록을 조회한다.
- * {@link CrdnService#getCrdnList(CrdnQuery)} 참고
- * @param req 단속자료 목록 조회 조건
- * @return jsonView
- * {
- * "crdnList": [조회결과 목록],
- * "crdnStart": 현재 페이지의 시작 자료 인덱스,
- * "crdnFetchTotal": 한 페이지에 가져오는 자료 건 수,
- * "crdnTotal": 조회 결과 찾은 전체 건 수
- * }
- */
- public ModelAndView getCrdnList(CrdnQuery req) {
- setFetchSize(req);
- return setCollectionInfo(
- new ModelAndView("jsonView"),
- crdnService.getCrdnList(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", crdnService.getCrdnInfo(crdnId));
- }
- return mav;
- }
-}
diff --git a/src/main/java/cokr/xit/fims/crdn/web/AbstractCrdn06Controller.java b/src/main/java/cokr/xit/fims/crdn/web/AbstractCrdn06Controller.java
new file mode 100644
index 00000000..449473f0
--- /dev/null
+++ b/src/main/java/cokr/xit/fims/crdn/web/AbstractCrdn06Controller.java
@@ -0,0 +1,73 @@
+package cokr.xit.fims.crdn.web;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Resource;
+
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.servlet.ModelAndView;
+
+import cokr.xit.base.code.CommonCode;
+import cokr.xit.base.web.ApplicationController;
+import cokr.xit.fims.crdn.service.CrdnQuery;
+import cokr.xit.fims.crdn.service.Crdn06Service;
+
+@RequestMapping(name="단속관리", value="/crdn/crdn06")
+public class AbstractCrdn06Controller extends ApplicationController {
+
+ @Resource(name="crdn06Service")
+ private Crdn06Service crdn06Service;
+
+ /** 단속 자료 조회 메인화면을 연다.
+ * @return fims/crdn/crdnDataInquire-main
+ */
+ @RequestMapping(name="단속 자료 조회 메인", value="/010/main.do")
+ public ModelAndView crdnDataInquireMain() {
+ ModelAndView mav = new ModelAndView();
+ mav.setViewName("fims/crdn/crdnDataInquire-main");
+ mav.addObject("pageSuffix","crdnDataInquire-main");
+
+ Map> commonCodes = getCodesOf("FIM001", "FIM002", "FIM010", "FIM026");
+ mav.addObject("FIM001List", commonCodes.get("FIM001"));
+ mav.addObject("FIM002List", commonCodes.get("FIM002"));
+ mav.addObject("FIM010List", commonCodes.get("FIM010"));
+ addCodes(commonCodes, mav, "FIM002", "FIM026");
+ return mav;
+ }
+
+ /**단속자료 목록을 조회한다.
+ * {@link Crdn06Service#getCrdnList(CrdnQuery)} 참고
+ * @param req 단속자료 목록 조회 조건
+ * @return jsonView
+ * {
+ * "crdnList": [조회결과 목록],
+ * "crdnStart": 현재 페이지의 시작 자료 인덱스,
+ * "crdnFetchTotal": 한 페이지에 가져오는 자료 건 수,
+ * "crdnTotal": 조회 결과 찾은 전체 건 수
+ * }
+ */
+ public ModelAndView getCrdnList(CrdnQuery req) {
+ setFetchSize(req);
+ return setCollectionInfo(
+ new ModelAndView("jsonView"),
+ crdn06Service.getCrdnList(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/Crdn0600Controller.java b/src/main/java/cokr/xit/fims/crdn/web/Crdn0600Controller.java
deleted file mode 100644
index 109018f0..00000000
--- a/src/main/java/cokr/xit/fims/crdn/web/Crdn0600Controller.java
+++ /dev/null
@@ -1,80 +0,0 @@
-package cokr.xit.fims.crdn.web;
-
-import java.util.List;
-import java.util.Map;
-
-import javax.annotation.Resource;
-
-import org.springframework.stereotype.Controller;
-import org.springframework.web.bind.annotation.PathVariable;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.servlet.ModelAndView;
-
-import cokr.xit.base.code.CommonCode;
-import cokr.xit.base.code.service.CodeService;
-import cokr.xit.fims.crdn.service.CrdnQuery;
-import cokr.xit.fims.crdn.service.CrdnService;
-import cokr.xit.foundation.web.AbstractController;
-
-/**단속관리 서비스 웹 컨트롤러.
- * {웹 컨텍스트}/crdn/*로 접근할 수 있다.
- * @author leebj
- */
-@Controller
-@RequestMapping(name="단속관리", value="/crdn")
-public class Crdn0600Controller extends AbstractCrdn0600Controller {
-
- @Resource(name = "codeService")
- private CodeService codeService;
-
- /** 단속 자료 조회 메인화면을 연다.
- * @return fims/crdn/crdnDataInquire-main
- */
- @RequestMapping(name="단속 자료 조회 메인", value="/crdn0600/main.do")
- public ModelAndView crdnDataInquireMain() {
- ModelAndView mav = new ModelAndView();
- mav.setViewName("fims/crdn/crdnDataInquire-main");
- mav.addObject("pageSuffix","crdnDataInquire-main");
-
- Map> commonCodes = getCodesOf("FIM001", "FIM002", "FIM010", "FIM026");
- mav.addObject("FIM001List", commonCodes.get("FIM001"));
- mav.addObject("FIM002List", commonCodes.get("FIM002"));
- mav.addObject("FIM010List", commonCodes.get("FIM010"));
- addCodes(commonCodes, mav, "FIM002", "FIM026");
- return mav;
- }
-
- @RequestMapping(name="주정차과태료업무 단속자료 목록", value="/PVS/list.do")
- public ModelAndView getPvsCrdnList(CrdnQuery req) {
- return getCrdnList(req);
- }
- @RequestMapping(name="전용차로과태료업무 단속자료 목록", value="/BPV/list.do")
- public ModelAndView getBpvCrdnList(CrdnQuery req) {
- return getCrdnList(req);
- }
- @RequestMapping(name="장애인과태료업무 단속자료 목록", value="/DPV/list.do")
- public ModelAndView getDpvCrdnList(CrdnQuery req) {
- return getCrdnList(req);
- }
- @RequestMapping(name="전기차과태료업무 단속자료 목록", value="/ECA/list.do")
- public ModelAndView getEcaCrdnList(CrdnQuery req) {
- return getCrdnList(req);
- }
-
- @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/java/cokr/xit/fims/crdn/web/Crdn06Controller.java b/src/main/java/cokr/xit/fims/crdn/web/Crdn06Controller.java
new file mode 100644
index 00000000..63e79b54
--- /dev/null
+++ b/src/main/java/cokr/xit/fims/crdn/web/Crdn06Controller.java
@@ -0,0 +1,50 @@
+package cokr.xit.fims.crdn.web;
+
+import org.springframework.stereotype.Controller;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.servlet.ModelAndView;
+import cokr.xit.fims.crdn.service.CrdnQuery;
+
+/**단속자료 조회 서비스 웹 컨트롤러.
+ * {웹 컨텍스트}/crdn/crdn06 로 접근할 수 있다.
+ * @author leebj
+ */
+@Controller
+public class Crdn06Controller extends AbstractCrdn06Controller {
+
+ @RequestMapping(name="주정차과태료업무 단속자료 목록", value="/010/PVS/list.do")
+ public ModelAndView getPvsCrdnList(CrdnQuery req) {
+ return getCrdnList(req);
+ }
+ @RequestMapping(name="전용차로과태료업무 단속자료 목록", value="/010/BPV/list.do")
+ public ModelAndView getBpvCrdnList(CrdnQuery req) {
+ return getCrdnList(req);
+ }
+ @RequestMapping(name="장애인과태료업무 단속자료 목록", value="/010/DPV/list.do")
+ public ModelAndView getDpvCrdnList(CrdnQuery req) {
+ return getCrdnList(req);
+ }
+ @RequestMapping(name="전기차과태료업무 단속자료 목록", value="/010/ECA/list.do")
+ public ModelAndView getEcaCrdnList(CrdnQuery req) {
+ return getCrdnList(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/crdn-mapper.xml b/src/main/resources/sql/mapper/fims/crdn/crdn06-mapper.xml
similarity index 96%
rename from src/main/resources/sql/mapper/fims/crdn/crdn-mapper.xml
rename to src/main/resources/sql/mapper/fims/crdn/crdn06-mapper.xml
index 43fceaf0..15352578 100644
--- a/src/main/resources/sql/mapper/fims/crdn/crdn-mapper.xml
+++ b/src/main/resources/sql/mapper/fims/crdn/crdn06-mapper.xml
@@ -1,6 +1,6 @@
-
+
@@ -18,7 +18,7 @@
, A.CRDN_REG_SE_CD
, A.CRDN_INPT_SE_CD
, A.LINK_ID
- , A.CRDN_SE_CD
+ , '10' AS CRDN_SE_CD
, A.RTPYR_ID
, A.CRDN_YMD
, A.CRDN_TM
diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdnDataInquire-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdnDataInquire-main.jsp
index d9241b31..022dec6f 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdnDataInquire-main.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdnDataInquire-main.jsp
@@ -227,8 +227,8 @@ crdnControl.onDatasetChange = obj => {
function fnResetAndChangeBiz(sysSeCd){
$("#crdnTbody--${pageSuffix}").html("");
- crdnControl.urls.load = wctx.url("/crdn/"+ sysSeCd +"/list.do");
- crdnControl.urls.getInfo = wctx.url("/crdn/"+ sysSeCd +"/info.do");
+ crdnControl.urls.load = wctx.url("/crdn/crdn06/010/"+ sysSeCd +"/list.do");
+ crdnControl.urls.getInfo = wctx.url("/crdn/crdn미정/미정/"+ sysSeCd +"/info.do"); // TODO : 상세화면은 통합조회 관련 URL로 변경 필요
}
function searchCrdnList(){