package cokr.xit.fims.task.web; import javax.annotation.Resource; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.servlet.ModelAndView; import cokr.xit.fims.crdn.dao.CrdnInfoMapper; import cokr.xit.fims.crdn.service.CrdnService; import cokr.xit.foundation.data.DataObject; @Controller public class PvsController { @Controller @RequestMapping(name="주정차과태료업무 민원접수자료 업무", value="/PVS/cvlc/cvlc01") class Cvlc01Controller extends cokr.xit.fims.cvlc.web.Cvlc01Controller {} @Controller @RequestMapping(name="주정차과태료업무 민원답변대상자료 업무", value="/PVS/cvlc/cvlc02") class Cvlc02Controller extends cokr.xit.fims.cvlc.web.Cvlc02Controller {} @Controller @RequestMapping(name="주정차과태료업무 단속등록업무", value="/PVS/crdn/crdn05") class Crdn05Controller extends cokr.xit.fims.crdn.web.Crdn05Controller {} @Controller @RequestMapping(name="주정차과태료업무 단속업무", value="/PVS/crdn/crdn06") class Crdn06Controller extends cokr.xit.fims.crdn.web.Crdn06Controller { @Resource(name="crdnService") private CrdnService crdnService; @Resource(name="crdnInfoMapper") private CrdnInfoMapper crdnInfoMapper; /**2시간 초과처리 팝업을 호출한다.
* @param crdnId 단속 ID * @return crdn06050-info */ @RequestMapping(name="2시간 초과 처리 화면 호출", value="/050/info.do") public ModelAndView getOverTimeInfo(String openerPageName, String savedCallbackFuncName, String crdnId) { ModelAndView mav = new ModelAndView(); mav.setViewName("fims/crdn/crdn06050-info"); mav.addObject("pageName","crdn06050-info"); DataObject crdnInfo = crdnInfoMapper.selectCrdnInfo(crdnId); mav.addObject("crdnInfo", toJson(crdnInfo)); mav.addObject("openerPageName", openerPageName); mav.addObject("savedCallbackFuncName", savedCallbackFuncName); return mav; } /**단속자료의 2시간 초과여부를 변경하고, 금액을 수정한다.
* @param chgAmtSe 금액 변경 구분, crdnId 단속 ID * @return jsonView *
 {
		 *     "saved": 수정되었으면 true, 그렇지 않으면 false
		 * }
*/ @PostMapping(name = "2시간 초과 정보 수정", value = "/050/update.do") public ModelAndView updateOverTimeInfo(String chgAmtSe, String crdnId) { boolean saved = crdnService.updateOverTimeInfo(chgAmtSe, crdnId); return new ModelAndView("jsonView") .addObject("saved", saved); } } @Controller @RequestMapping(name="주정차과태료업무 단속팀 관리", value="/PVS/crdn/crdn07") class Crdn07Controller extends cokr.xit.fims.crdn.web.Crdn07Controller {} @Controller @RequestMapping(name="주정차과태료업무 업무지원", value="/PVS/sprt/sprt01/") class Sprt01Controller extends cokr.xit.fims.sprt.web.Sprt01Controller {} @Controller @RequestMapping(name="주정차과태료업무 부과제외 - 부과제외관리", value="/PVS/excl/excl01") class Excl01Controller extends cokr.xit.fims.excl.web.Excl01Controller {} @Controller @RequestMapping(name="주정차과태료업무 부과제외 - 의견제출 관리", value="/PVS/excl/excl02") class Excl02Controller extends cokr.xit.fims.excl.web.Excl02Controller {} @Controller @RequestMapping(name="주정차과태료업무 부과제외 - 재등록 관리", value="/PVS/excl/excl03") class Excl03Controller extends cokr.xit.fims.excl.web.Excl03Controller {} }