diff --git a/src/main/java/cokr/xit/fims/crdn/web/Crdn02Controller.java b/src/main/java/cokr/xit/fims/crdn/web/Crdn02Controller.java index 45e2af4c..012fb28b 100644 --- a/src/main/java/cokr/xit/fims/crdn/web/Crdn02Controller.java +++ b/src/main/java/cokr/xit/fims/crdn/web/Crdn02Controller.java @@ -24,7 +24,9 @@ public class Crdn02Controller extends ApplicationController { public class METHOD_URL { public static final String crackdownDataInspectionMain = "/010/main.do", - getInspectionDataList = "/020/list.do" + getInspectionDataList = "/020/list.do", + getOverTimeInfo = "/050/info.do", + updateOverTimeInfo = "/050/update.do" ; } diff --git a/src/main/java/cokr/xit/fims/crdn/web/Crdn03Controller.java b/src/main/java/cokr/xit/fims/crdn/web/Crdn03Controller.java index 4773c70c..21ac0ab1 100644 --- a/src/main/java/cokr/xit/fims/crdn/web/Crdn03Controller.java +++ b/src/main/java/cokr/xit/fims/crdn/web/Crdn03Controller.java @@ -22,7 +22,9 @@ public class Crdn03Controller extends ApplicationController { public class METHOD_URL { public static final String - tagInformationUndefinedDataMain = "/010/main.do" + tagInformationUndefinedDataMain = "/010/main.do", + getTagInformationUndefinedDataList = "/030/list.do", + updateTagInfo = "/030/update.do" ; } diff --git a/src/main/java/cokr/xit/fims/task/web/DpvController.java b/src/main/java/cokr/xit/fims/task/web/DpvController.java index f3678602..ba5bb5a9 100644 --- a/src/main/java/cokr/xit/fims/task/web/DpvController.java +++ b/src/main/java/cokr/xit/fims/task/web/DpvController.java @@ -4,7 +4,6 @@ import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import org.springframework.stereotype.Controller; -import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.multipart.MultipartFile; import org.springframework.web.servlet.ModelAndView; @@ -206,7 +205,7 @@ public class DpvController { * @param req 표지정보미확인자료 목록 조회 조건 * @return jsonView */ - @RequestMapping(name="장애인과태료업무 표지정보미확인자료 목록", value="/030/list.do") + @RequestMapping(name="장애인과태료업무 표지정보미확인자료 목록", value=METHOD_URL.getTagInformationUndefinedDataList) public ModelAndView getTagInformationUndefinedDataList(CrdnQuery query) { query.setGridType("tagInformationUndefinedData"); setFetchSize(query); @@ -220,7 +219,7 @@ public class DpvController { * "saved": 수정되었으면 true, 그렇지 않으면 false * } */ - @PostMapping(name = "표지정보 미확인 자료 수정", value = "/030/update.do") + @RequestMapping(name = "표지정보 미확인 자료 수정", value=METHOD_URL.updateTagInfo) public ModelAndView update(Crdn crdn) { boolean saved = crdnService.updateTagInfo(crdn); return new ModelAndView("jsonView") diff --git a/src/main/java/cokr/xit/fims/task/web/PvsController.java b/src/main/java/cokr/xit/fims/task/web/PvsController.java index 03bcc43b..142f1b1d 100644 --- a/src/main/java/cokr/xit/fims/task/web/PvsController.java +++ b/src/main/java/cokr/xit/fims/task/web/PvsController.java @@ -4,7 +4,6 @@ import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import org.springframework.stereotype.Controller; -import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.multipart.MultipartFile; import org.springframework.web.servlet.ModelAndView; @@ -205,7 +204,7 @@ public class PvsController { * @param crdnId 단속 ID * @return crdn02050-info */ - @RequestMapping(name="2시간 초과 처리 화면 호출", value="/050/info.do") + @RequestMapping(name="2시간 초과 처리 화면 호출", value=METHOD_URL.getOverTimeInfo) public ModelAndView getOverTimeInfo(String openerPageName, String savedCallbackFuncName, String crdnId) { ModelAndView mav = new ModelAndView(); @@ -227,7 +226,7 @@ public class PvsController { * "saved": 수정되었으면 true, 그렇지 않으면 false * } */ - @PostMapping(name = "2시간 초과 정보 수정", value = "/050/update.do") + @RequestMapping(name = "2시간 초과 정보 수정", value=METHOD_URL.updateOverTimeInfo) public ModelAndView updateOverTimeInfo(String chgAmtSe, String crdnId) { boolean saved = crdnService.updateOverTimeInfo(chgAmtSe, crdnId); return new ModelAndView("jsonView")