diff --git a/src/main/java/cokr/xit/fims/crdn/web/Crdn01Controller.java b/src/main/java/cokr/xit/fims/crdn/web/Crdn01Controller.java index 76f7aad6..f84c7982 100644 --- a/src/main/java/cokr/xit/fims/crdn/web/Crdn01Controller.java +++ b/src/main/java/cokr/xit/fims/crdn/web/Crdn01Controller.java @@ -10,6 +10,7 @@ import org.springframework.web.servlet.ModelAndView; import cokr.xit.base.code.CommonCode; import cokr.xit.base.web.ApplicationController; +import cokr.xit.fims.crdn.CrdnQuery; import cokr.xit.fims.crdn.service.Crdn01Service; import cokr.xit.fims.crdn.service.bean.Crdn01ServiceBean; @@ -23,4 +24,24 @@ public class Crdn01Controller extends ApplicationController { @Resource(name="crdn01Service") private Crdn01Service crdn01Service; + /**민원자료 목록을 조회한다.
+ * {@link Crdn01Service#getCrackdownList(CrdnQuery)} 참고 + * @param req 민원자료 목록 조회 조건 + * @return jsonView + *
 {
+	 *     "crdnList": [조회결과 목록],
+	 *     "crdnStart": 현재 페이지의 시작 자료 인덱스,
+	 *     "crdnFetchTotal": 한 페이지에 가져오는 자료 건 수,
+	 *     "crdnTotal": 조회 결과 찾은 전체 건 수
+	 * }
+ */ + @RequestMapping(name="민원자료 목록", value="/010/list.do") + public ModelAndView getCivilComplaintListList(CrdnQuery req) { + setFetchSize(req); + return setCollectionInfo( + new ModelAndView("jsonView"), + crdn01Service.getCrackdownList(req), + "crdn" + ); + } } diff --git a/src/main/java/cokr/xit/fims/sprt/web/BpvSprtController.java b/src/main/java/cokr/xit/fims/sprt/web/BpvSprtController.java new file mode 100644 index 00000000..a54d7056 --- /dev/null +++ b/src/main/java/cokr/xit/fims/sprt/web/BpvSprtController.java @@ -0,0 +1,15 @@ +package cokr.xit.fims.sprt.web; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; + +@Controller +public class BpvSprtController { + + @Controller + @RequestMapping(name="전용차로과태료업무 업무지원", value="/BPV/sprt/sprt01/") + class BpvSprt01Controller extends Sprt01Controller { + + } + +} diff --git a/src/main/java/cokr/xit/fims/sprt/web/CmnSprtController.java b/src/main/java/cokr/xit/fims/sprt/web/CmnSprtController.java new file mode 100644 index 00000000..1e3db3fe --- /dev/null +++ b/src/main/java/cokr/xit/fims/sprt/web/CmnSprtController.java @@ -0,0 +1,28 @@ +package cokr.xit.fims.sprt.web; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.servlet.ModelAndView; + +@Controller +public class CmnSprtController { + + @Controller + class CmnSprt01Controller extends Sprt01Controller { + + /** 통합조회 메인화면을 연다. + * @return fims/sprt/sprt01010-main + */ + @RequestMapping(name="통합조회 메인", value="/010/main.do") + public ModelAndView integratedInquireMain() { + ModelAndView mav = new ModelAndView(); + mav.setViewName("fims/sprt/sprt01010-main"); + mav.addObject("pageName", "sprt01010-main"); + + + return mav; + } + + } + +} diff --git a/src/main/java/cokr/xit/fims/sprt/web/DpvSprtController.java b/src/main/java/cokr/xit/fims/sprt/web/DpvSprtController.java new file mode 100644 index 00000000..6d9763a7 --- /dev/null +++ b/src/main/java/cokr/xit/fims/sprt/web/DpvSprtController.java @@ -0,0 +1,15 @@ +package cokr.xit.fims.sprt.web; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; + +@Controller +public class DpvSprtController { + + @Controller + @RequestMapping(name="장애인과태료업무 업무지원", value="/DPV/sprt/sprt01/") + class DpvSprt01Controller extends Sprt01Controller { + + } + +} diff --git a/src/main/java/cokr/xit/fims/sprt/web/EcaSprtController.java b/src/main/java/cokr/xit/fims/sprt/web/EcaSprtController.java new file mode 100644 index 00000000..2600b42c --- /dev/null +++ b/src/main/java/cokr/xit/fims/sprt/web/EcaSprtController.java @@ -0,0 +1,15 @@ +package cokr.xit.fims.sprt.web; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; + +@Controller +public class EcaSprtController { + + @Controller + @RequestMapping(name="전기차과태료업무 업무지원", value="/ECA/sprt/sprt01/") + class EcaSprt01Controller extends Sprt01Controller { + + } + +} diff --git a/src/main/java/cokr/xit/fims/sprt/web/PvsSprtController.java b/src/main/java/cokr/xit/fims/sprt/web/PvsSprtController.java new file mode 100644 index 00000000..31297946 --- /dev/null +++ b/src/main/java/cokr/xit/fims/sprt/web/PvsSprtController.java @@ -0,0 +1,15 @@ +package cokr.xit.fims.sprt.web; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; + +@Controller +public class PvsSprtController { + + @Controller + @RequestMapping(name="주정차과태료업무 업무지원", value="/PVS/sprt/sprt01/") + class PvsSprt01Controller extends Sprt01Controller { + + } + +} diff --git a/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java b/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java index fd902c37..2ef0c545 100644 --- a/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java +++ b/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java @@ -14,23 +14,10 @@ import cokr.xit.base.web.ApplicationController; @RequestMapping(name="업무지원", value="/sprt/sprt01") public class Sprt01Controller extends ApplicationController { - + @Resource(name="sprt01Service") private Sprt01Service sprt01Service; - /** 통합조회 메인화면을 연다. - * @return fims/sprt/sprt01010-main - */ - @RequestMapping(name="통합조회 메인", value="/010/main.do") - public ModelAndView integratedInquireMain() { - ModelAndView mav = new ModelAndView(); - mav.setViewName("fims/sprt/sprt01010-main"); - mav.addObject("pageName", "sprt01010-main"); - - - return mav; - } - /**지정하는 단속아이디의 개별총정보를 반환한다. * @param crdnId 단속 아이디 * @return fims/sprt/sprt01020-info @@ -38,6 +25,7 @@ public class Sprt01Controller extends ApplicationController { * "totalDataInfo": {...} * } */ + @RequestMapping(name="개별총정보 상세조회", value="/020/PVS/info.do") public ModelAndView getTotalDataInfo(String crdnId) { ModelAndView mav = new ModelAndView("fims/sprt/sprt01020-info"); mav.addObject("pageName", "sprt01020-info"); @@ -46,5 +34,5 @@ public class Sprt01Controller extends ApplicationController { } return mav; } - + } diff --git a/src/main/java/cokr/xit/fims/sprt/web/TaskSprt01Controller.java b/src/main/java/cokr/xit/fims/sprt/web/TaskSprt01Controller.java deleted file mode 100644 index 90e14cff..00000000 --- a/src/main/java/cokr/xit/fims/sprt/web/TaskSprt01Controller.java +++ /dev/null @@ -1,33 +0,0 @@ -package cokr.xit.fims.sprt.web; - - -import org.springframework.stereotype.Controller; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.servlet.ModelAndView; - -/**업무지원 서비스 웹 컨트롤러.
- * {웹 컨텍스트}/sprt/sprt01 로 접근할 수 있다. - * @author leebj - */ -@Controller -public class TaskSprt01Controller extends Sprt01Controller { - - - @RequestMapping(name="주정차과태료업무 개별총정보 조회", value="/020/PVS/info.do") - public ModelAndView getPvsTotalDataInfo(String crdnId) { - return getTotalDataInfo(crdnId); - } - @RequestMapping(name="전용차로과태료업무 개별총정보 조회", value="/020/BPV/info.do") - public ModelAndView getBpvTotalDataInfo(String crdnId) { - return getTotalDataInfo(crdnId); - } - @RequestMapping(name="장애인과태료업무 개별총정보 조회", value="/020/DPV/info.do") - public ModelAndView getDpvTotalDataInfo(String crdnId) { - return getTotalDataInfo(crdnId); - } - @RequestMapping(name="전기차과태료업무 개별총정보 조회", value="/020/ECA/info.do") - public ModelAndView getEcaTotalDataInfo(String crdnId) { - return getTotalDataInfo(crdnId); - } - -} diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn01030-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn01030-main.jsp index b4f9f479..91f498ef 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn01030-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn01030-main.jsp @@ -185,8 +185,8 @@ $(document).ready(function(){ $P.fnResetAndChangeBiz = taskSeCd => { $P.fnReset(); - $P.crdnControl.urls.load = wctx.url("/"+taskSeCd+"/crdn/crdn01/010/list.do"); - $P.crdnControl.urls.getInfo = wctx.url("/"+taskSeCd+"/crdn/crdn01/020/info.do"); + $P.crdnControl.urls.load = wctx.url("/"+taskSeCd+"/crdn/crdn01/030/list.do"); + $P.crdnControl.urls.getInfo = wctx.url("/"+taskSeCd+"/sprt/sprt01/020/info.do"); } $P.searchCrdnList = () => {