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.fims.sprt.SprtQuery; import cokr.xit.foundation.data.DataObject; @Controller public class PvsController { public static final String CLASS_URL = "/PVS"; @Controller @RequestMapping(name="주정차과태료업무 민원접수자료 업무", value=CLASS_URL+Cvlc01Controller.CLASS_URL) class Cvlc01Controller extends cokr.xit.fims.cvlc.web.Cvlc01Controller {} @Controller @RequestMapping(name="주정차과태료업무 민원답변대상자료 업무", value=CLASS_URL+Cvlc02Controller.CLASS_URL) class Cvlc02Controller extends cokr.xit.fims.cvlc.web.Cvlc02Controller {} @Controller @RequestMapping(name="주정차과태료업무 민원신고답변 문구 관리 업무", value=CLASS_URL+Cvlc05Controller.CLASS_URL) class Cvlc05Controller extends cokr.xit.fims.cvlc.web.Cvlc05Controller {} @Controller @RequestMapping(name="주정차과태료업무 계도문 문구 관리 업무", value=CLASS_URL+Cvlc06Controller.CLASS_URL) class Cvlc06Controller extends cokr.xit.fims.cvlc.web.Cvlc06Controller {} @Controller @RequestMapping(name="주정차과태료업무 단속자료검사 업무", value=CLASS_URL+Crdn02Controller.CLASS_URL) class Crdn02Controller extends cokr.xit.fims.crdn.web.Crdn02Controller { @Resource(name="crdnService") private CrdnService crdnService; @Resource(name="crdnInfoMapper") private CrdnInfoMapper crdnInfoMapper; /**2시간 초과처리 팝업을 호출한다.
* @param crdnId 단속 ID * @return crdn02050-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/crdn02050-info"); mav.addObject("pageName","crdn02050-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=CLASS_URL+Crdn04Controller.CLASS_URL) class Crdn04Controller extends cokr.xit.fims.crdn.web.Crdn04Controller {} @Controller @RequestMapping(name="주정차과태료업무 단속등록업무", value=CLASS_URL+Crdn05Controller.CLASS_URL) class Crdn05Controller extends cokr.xit.fims.crdn.web.Crdn05Controller {} @Controller @RequestMapping(name="주정차과태료업무 단속업무", value=CLASS_URL+Crdn06Controller.CLASS_URL) class Crdn06Controller extends cokr.xit.fims.crdn.web.Crdn06Controller {} @Controller @RequestMapping(name="주정차과태료업무 단속팀 관리", value=CLASS_URL+Crdn07Controller.CLASS_URL) class Crdn07Controller extends cokr.xit.fims.crdn.web.Crdn07Controller {} @Controller @RequestMapping(name="주정차과태료업무 부과제외_부과제외관리", value=CLASS_URL+"/excl/excl01") class Excl01Controller extends cokr.xit.fims.excl.web.Excl01Controller {} @Controller @RequestMapping(name="주정차과태료업무 부과제외_의견제출 관리", value=CLASS_URL+"/excl/excl02") class Excl02Controller extends cokr.xit.fims.excl.web.Excl02Controller {} @Controller @RequestMapping(name="주정차과태료업무 부과제외_재등록 관리", value=CLASS_URL+"/excl/excl03") class Excl03Controller extends cokr.xit.fims.excl.web.Excl03Controller {} @Controller @RequestMapping(name="주정차과태료업무 업무지원_통합조회", value=CLASS_URL+"/sprt/sprt01/") class Sprt01Controller extends cokr.xit.fims.sprt.web.Sprt01Controller {} @Controller @RequestMapping(name="주정차과태료업무 업무지원_개별총정보", value=CLASS_URL+"/sprt/sprt02/") class Sprt02Controller extends cokr.xit.fims.sprt.web.Sprt02Controller { /** 개별총정보 메인화면을 연다. * @return fims/sprt/sprt02010-main */ @Override @RequestMapping(name="개별총정보 메인", value="/010/main.do") public ModelAndView indivTotalInfoMain(SprtQuery req) { return super.indivTotalInfoMain(req); } } }