diff --git a/src/main/java/cokr/xit/fims/crdn/web/Crdn05Controller.java b/src/main/java/cokr/xit/fims/crdn/web/Crdn05Controller.java index 80a32077..f7b17e80 100644 --- a/src/main/java/cokr/xit/fims/crdn/web/Crdn05Controller.java +++ b/src/main/java/cokr/xit/fims/crdn/web/Crdn05Controller.java @@ -1,19 +1,23 @@ 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.Crdn05Service; @RequestMapping(name="단속 자료 등록", value="/crdn/crdn05") public class Crdn05Controller extends ApplicationController { - + @Resource(name="crdn05Service") private Crdn05Service crdn05Service; - + /** 단속 자료 등록 메인화면을 연다. * @return fims/crdn/crdn05010-main */ @@ -22,7 +26,34 @@ public class Crdn05Controller extends ApplicationController { ModelAndView mav = new ModelAndView(); mav.setViewName("fims/crdn/crdn05010-main"); mav.addObject("pageName", "crdn05010-main"); - + + Map> commonCodes = getCodesOf("FIM054"); + mav.addObject("FIM054List", commonCodes.get("FIM054")); + return mav; + } + + /**단속자료 파일 등록 팝업화면을 반환한다. + * @param + * @return fims/crdn/crdn05020-info + */ + public ModelAndView getFileRegistrationScreen() { + return new ModelAndView("fims/crdn/crdn05020-info"); + } + + /**단속자료 수기 등록 팝업화면을 반환한다. + * @param + * @return fims/crdn/crdn05030-info + */ + public ModelAndView getManualRegistrationScreen() { + + ModelAndView mav = new ModelAndView("fims/crdn/crdn05030-info"); + + Map> commonCodes = getCodesOf("FIM011","FIM034","FIM053","LVS005"); + mav.addObject("FIM011List", commonCodes.get("FIM011")); + mav.addObject("FIM034List", commonCodes.get("FIM034")); + mav.addObject("FIM053List", commonCodes.get("FIM053")); + mav.addObject("LVS005List", commonCodes.get("LVS005")); return mav; } + } diff --git a/src/main/java/cokr/xit/fims/crdn/web/TaskCrdn05Controller.java b/src/main/java/cokr/xit/fims/crdn/web/TaskCrdn05Controller.java index eebb3a14..55df67ca 100644 --- a/src/main/java/cokr/xit/fims/crdn/web/TaskCrdn05Controller.java +++ b/src/main/java/cokr/xit/fims/crdn/web/TaskCrdn05Controller.java @@ -1,6 +1,13 @@ package cokr.xit.fims.crdn.web; +import java.util.List; +import java.util.Map; + import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.servlet.ModelAndView; + +import cokr.xit.base.code.CommonCode; /**단속 자료 등록 서비스 웹 컨트롤러.
* {웹 컨텍스트}/crdn/crdn05 로 접근할 수 있다. @@ -9,4 +16,38 @@ import org.springframework.stereotype.Controller; @Controller public class TaskCrdn05Controller extends Crdn05Controller { + @RequestMapping(name="주정차과태료업무 단속자료 파일 등록 화면", value="/020/PVS/info.do") + public ModelAndView getPvsFileRegistrationScreen() { + return getFileRegistrationScreen(); + } + @RequestMapping(name="전용차로과태료업무 단속자료 파일 등록 화면", value="/020/BPV/info.do") + public ModelAndView getBpvFileRegistrationScreen() { + return getFileRegistrationScreen(); + } + @RequestMapping(name="장애인과태료업무 단속자료 파일 등록 화면", value="/020/DPV/info.do") + public ModelAndView getDpvFileRegistrationScreen() { + return getFileRegistrationScreen(); + } + @RequestMapping(name="전기차과태료업무 단속자료 파일 등록 화면", value="/020/ECA/info.do") + public ModelAndView getEcaFileRegistrationScreen() { + return getFileRegistrationScreen(); + } + + @RequestMapping(name="주정차과태료업무 단속자료 수기 등록 화면", value="/030/PVS/info.do") + public ModelAndView getPvsManualRegistrationScreen() { + return getManualRegistrationScreen(); + } + @RequestMapping(name="전용차로과태료업무 단속자료 수기 등록 화면", value="/030/BPV/info.do") + public ModelAndView getBpvManualRegistrationScreen() { + return getManualRegistrationScreen(); + } + @RequestMapping(name="장애인과태료업무 단속자료 수기 등록 화면", value="/030/DPV/info.do") + public ModelAndView getDpvManualRegistrationScreen() { + Map> commonCodes = getCodesOf("FIM006"); + return getManualRegistrationScreen().addObject("FIM006List", commonCodes.get("FIM006")); + } + @RequestMapping(name="전기차과태료업무 단속자료 수기 등록 화면", value="/030/ECA/info.do") + public ModelAndView getEcaManualRegistrationScreen() { + return getManualRegistrationScreen(); + } } diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05010-main.jsp index 92164ada..73966b9d 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05010-main.jsp @@ -1,3 +1,134 @@ <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> <%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> -단속 자료 등록 \ No newline at end of file +
+
+ 단속 자료 등록 +
+
+
+
+ + + + +
+ +
+ +
+ +
+
+
+
+ + + +
+
+ \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05020-info.jsp new file mode 100644 index 00000000..49ec1fc6 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05020-info.jsp @@ -0,0 +1,3 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> +<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> +파일등록팝업화면 \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp new file mode 100644 index 00000000..e3461ae9 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp @@ -0,0 +1,157 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> +<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> +
+ +
+
+ + + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + + +
+
+ 차량명칭/차량색상은 입력항목이 아닙니다. +
+
+ + +
+
+ + +
+
+ + +
+
+
+
+
+
+ 체크 계도처리 + +
+
+
+
+
\ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp index a26943ff..610458ec 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp @@ -111,7 +111,7 @@ 아니오 -
+