package cokr.xit.fims.task.web; 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; import cokr.xit.fims.crdn.Crdn; import cokr.xit.fims.crdn.CrdnQuery; import cokr.xit.fims.crdn.service.CrdnService; import cokr.xit.fims.cvlc.CrdnCvlcpt; import cokr.xit.fims.sprt.SprtQuery; @Controller public class DpvController { public static final String CLASS_URL = "/DPV"; @Controller @RequestMapping(name="장애인과태료업무 민원접수자료 업무", value=CLASS_URL+Cvlc01Controller.CLASS_URL) class Cvlc01Controller extends cokr.xit.fims.cvlc.web.Cvlc01Controller { @Override @RequestMapping(name="장애인과태료업무 민원접수자료 목록 조회", value=METHOD_URL.getCivilComplaintReceiptDataList) public ModelAndView getCivilComplaintReceiptDataList(CrdnQuery query) { return super.getCivilComplaintReceiptDataList(query); } @Override @RequestMapping(name="장애인과태료업무 민원자료 제거", value=METHOD_URL.removeCivilComplaint) public ModelAndView removeCivilComplaint(String[] IDs) { return super.removeCivilComplaint(IDs); } @Override @RequestMapping(name="장애인과태료업무 민원접수 초기자료 조회", value=METHOD_URL.getCivilComplaintReceiptInitialDataInfo) public ModelAndView getCivilComplaintReceiptInitialDataInfo(HttpServletRequest hReq, CrdnQuery query) { return super.getCivilComplaintReceiptInitialDataInfo(hReq, query); } @Override @RequestMapping(name="장애인과태료업무 민원 정보 수정", value=METHOD_URL.saveCivilComplaintProcessSe) public ModelAndView saveCivilComplaintProcessSe(HttpServletRequest hReq, CrdnCvlcpt crdnCvlcpt, Crdn crdn, MultipartFile[] newFileList, MultipartFile[] modifyFileList) { return super.saveCivilComplaintProcessSe(hReq, crdnCvlcpt, crdn, newFileList, modifyFileList); } @Override @RequestMapping(name="장애인과태료업무 민원 자료 복사", value=METHOD_URL.copyCivilComplaintInfo) public ModelAndView copyCivilComplaintInfo(String crdnId) { return super.copyCivilComplaintInfo(crdnId); } @Override @RequestMapping(name="장애인과태료업무 민원 자료 반송", value=METHOD_URL.sendBackCivilComplaintInfo) public ModelAndView sendBackCivilComplaintInfo(String crdnId) { return super.sendBackCivilComplaintInfo(crdnId); } @Override @RequestMapping(name="장애인과태료업무 민원내역 원본 보기", value=METHOD_URL.getCivilComplaintOriginalInfo) public ModelAndView getCivilComplaintOriginalInfo(HttpServletRequest hReq, CrdnQuery query) { return super.getCivilComplaintOriginalInfo(hReq, query); } @Override @RequestMapping(name="장애인과태료업무 민원내역 원본 한글 파일 생성", value=METHOD_URL.makeFileFromHwpFormat) public ModelAndView makeFileFromHwpFormat(CrdnQuery query) { return super.makeFileFromHwpFormat(query); } } @Controller @RequestMapping(name="장애인과태료업무 민원답변대상자료 업무", value=CLASS_URL+Cvlc02Controller.CLASS_URL) class Cvlc02Controller extends cokr.xit.fims.cvlc.web.Cvlc02Controller { @Override @RequestMapping(name="장애인과태료업무 민원답변대상자료 목록", value=METHOD_URL.selectCivilComplaintAnswerTargetDataList) public ModelAndView selectCivilComplaintAnswerTargetDataList(CrdnQuery query) { return super.selectCivilComplaintAnswerTargetDataList(query); } @Override @RequestMapping(name="장애인과태료업무 민원답변내용 미리보기", value=METHOD_URL.answerPreviewInfo) public ModelAndView answerPreviewInfo(HttpServletRequest hReq, CrdnQuery query) { return super.answerPreviewInfo(hReq, query); } @Override @RequestMapping(name="장애인과태료업무 답변 내용 저장", value=METHOD_URL.updateAnswerContent) public ModelAndView updateAnswerContent(CrdnCvlcpt crdnCvlcpt) { return super.updateAnswerContent(crdnCvlcpt); } @Override @RequestMapping(name="장애인과태료업무 답변 내용 저장", value=METHOD_URL.updateAnswerTargetProcessStatus) public ModelAndView updateAnswerTargetProcessStatus(String processType, String... crdnIDs) { return super.updateAnswerTargetProcessStatus(processType, crdnIDs); } } @Controller @RequestMapping(name="장애인과태료업무 민원관리 업무", value=CLASS_URL+Cvlc03Controller.CLASS_URL) class Cvlc03Controller extends cokr.xit.fims.cvlc.web.Cvlc03Controller { @Override @RequestMapping(name="장애인과태료업무 민원자료 목록 조회", value=METHOD_URL.getCivilComplaintList) public ModelAndView getCivilComplaintList(CrdnQuery query) { return super.getCivilComplaintList(query); } } @Controller @RequestMapping(name="장애인과태료업무 민원신고답변 문구 관리 업무", value=CLASS_URL+Cvlc05Controller.CLASS_URL) class Cvlc05Controller extends cokr.xit.fims.cvlc.web.Cvlc05Controller { @Override @RequestMapping(name="장애인과태료업무 민원신고 답변 문구 설정 조회", value=METHOD_URL.getCvlcptAnswerWordsInfo) public ModelAndView getCvlcptAnswerWordsInfo(CrdnQuery crdnQuery) { return super.getCvlcptAnswerWordsInfo(crdnQuery); } @Override @RequestMapping(name="장애인과태료업무 민원신고 답변 문구 설정 저장", value=METHOD_URL.saveCvlcptAnswerWordsInfo) public ModelAndView saveCvlcptAnswerWordsInfo(HttpServletRequest hReq, CrdnCvlcpt crdnCvlcpt) { return super.saveCvlcptAnswerWordsInfo(hReq, crdnCvlcpt); } @Override @RequestMapping(name="장애인과태료업무 미부과처리건 답변 문구 삭제", value=METHOD_URL.removeCvlcptAnswerWordsInfo) public ModelAndView removeCvlcptAnswerWordsInfo(String ansWordsId) { return super.removeCvlcptAnswerWordsInfo(ansWordsId); } } @Controller @RequestMapping(name="장애인과태료업무 계도문 문구 관리 업무", value=CLASS_URL+Cvlc06Controller.CLASS_URL) class Cvlc06Controller extends cokr.xit.fims.cvlc.web.Cvlc06Controller { @Override @RequestMapping(name="장애인과태료업무 계도문 문구 설정 목록", value=METHOD_URL.getWarningWordsList) public ModelAndView getWarningWordsList(CrdnQuery crdnQuery) { return super.getWarningWordsList(crdnQuery); } @Override @RequestMapping(name="장애인과태료업무 민원신고 답변 문구 설정 저장", value=METHOD_URL.saveCvlcptAnswerWordsInfo) public ModelAndView saveCvlcptAnswerWordsInfo(CrdnCvlcpt crdnCvlcpt) { return super.saveCvlcptAnswerWordsInfo(crdnCvlcpt); } } @Controller @RequestMapping(name="장애인과태료업무 단속자료검사 업무", value=CLASS_URL+Crdn02Controller.CLASS_URL) class Crdn02Controller extends cokr.xit.fims.crdn.web.Crdn02Controller { @Override @RequestMapping(name="장애인과태료업무 검사자료 목록 조회", value=METHOD_URL.getInspectionDataList) public ModelAndView getInspectionDataList(CrdnQuery query) { return super.getInspectionDataList(query); } } @Controller @RequestMapping(name="장애인과태료업무 표지정보확인 업무", value=CLASS_URL+Crdn03Controller.CLASS_URL) class Crdn03Controller extends cokr.xit.fims.crdn.web.Crdn03Controller { @Resource(name="crdnService") private CrdnService crdnService; /**표지정보미확인자료 목록을 조회한다.
* {@link CrdnService#getCrackdownList(CrdnQuery)} 참고 * @param req 표지정보미확인자료 목록 조회 조건 * @return jsonView *
 {
		 *     "crdnList": [조회결과 목록],
		 *     "crdnStart": 현재 페이지의 시작 자료 인덱스,
		 *     "crdnFetchTotal": 한 페이지에 가져오는 자료 건 수,
		 *     "crdnTotal": 조회 결과 찾은 전체 건 수
		 * }
*/ @RequestMapping(name="장애인과태료업무 표지정보미확인자료 목록", value="/030/list.do") public ModelAndView getTagInformationUndefinedDataList(CrdnQuery query) { query.setGridType("tagInformationUndefinedData"); setFetchSize(query); return setCollectionInfo(new ModelAndView("jsonView"), crdnService.getCrackdownList(query),""); } /**표지정보 미확인 자료를 수정한다. * @param crdn 단속 대장 정보 * @return jsonView *
 {
		 *     "saved": 수정되었으면 true, 그렇지 않으면 false
		 * }
*/ @PostMapping(name = "표지정보 미확인 자료 수정", value = "/030/update.do") public ModelAndView update(Crdn crdn) { boolean saved = crdnService.updateTagInfo(crdn); 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 { @Override @RequestMapping(name="장애인과태료업무 감경자료 목록 조회", value=METHOD_URL.getFineReductionDataList) public ModelAndView getFineReductionDataList(CrdnQuery query) { return super.getFineReductionDataList(query); } } @Controller @RequestMapping(name="장애인과태료업무 단속등록업무", value=CLASS_URL+Crdn05Controller.CLASS_URL) class Crdn05Controller extends cokr.xit.fims.crdn.web.Crdn05Controller { @Override @RequestMapping(name="장애인과태료업무 당일 입력 단속자료 목록 조회", value=METHOD_URL.getTodayCrdnDataList) public ModelAndView getTodayCrdnDataList(CrdnQuery query) { return super.getTodayCrdnDataList(query); } @Override @RequestMapping(name="장애인과태료업무 단속자료 수기 등록 화면", value=METHOD_URL.getManualRegistrationScreen) public ModelAndView getManualRegistrationScreen(HttpServletRequest hReq) { return super.getManualRegistrationScreen(hReq); } @Override @RequestMapping(name="장애인과태료업무 단속자료 수기 등록", value=METHOD_URL.createCrdnDataByManual) public ModelAndView createCrdnDataByManual(HttpServletRequest hReq, Crdn crdn, MultipartFile[] newFileList) { return super.createCrdnDataByManual(hReq, crdn, newFileList); } } @Controller @RequestMapping(name="장애인과태료업무 단속업무", value=CLASS_URL+Crdn06Controller.CLASS_URL) class Crdn06Controller extends cokr.xit.fims.crdn.web.Crdn06Controller { @Override @RequestMapping(name="장애인과태료업무 단속자료 목록", value=METHOD_URL.getCrackdownList) public ModelAndView getCrackdownList(CrdnQuery query) { return super.getCrackdownList(query); } } @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); } } }