/** * 승인(탈퇴)요청에 대한 목록을 조회한다. * * @param historyvO * @param sessionVO * @param status * @param model * @return * @throws Exception */ @RequestMapping("/cop/com/selectConfirmRequest.do") public String selectConfirmRequest( @ModelAttribute("searchVO") ConfirmHistoryVO historyVO, SessionStatus status, ModelMap model) throws Exception { LoginVO user = (LoginVO) EgovUserDetailsHelper.getAuthenticatedUser(); @SuppressWarnings("unused") Boolean isAuthenticated = EgovUserDetailsHelper.isAuthenticated(); historyVO.setPageUnit(propertyService.getInt("pageUnit")); historyVO.setPageSize(propertyService.getInt("pageSize")); PaginationInfo paginationInfo = new PaginationInfo(); paginationInfo.setCurrentPageNo(historyVO.getPageIndex()); paginationInfo.setRecordCountPerPage(historyVO.getPageUnit()); paginationInfo.setPageSize(historyVO.getPageSize()); historyVO.setFirstIndex(paginationInfo.getFirstRecordIndex()); historyVO.setLastIndex(paginationInfo.getLastRecordIndex()); historyVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); historyVO.setConfmerId(user.getUniqId()); Map<String, Object> map = confmService.selectConfirmRequest(historyVO); int totCnt = Integer.parseInt((String) map.get("resultCnt")); paginationInfo.setTotalRecordCount(totCnt); model.addAttribute("resultList", map.get("resultList")); model.addAttribute("resultCnt", map.get("resultCnt")); model.addAttribute("paginationInfo", paginationInfo); return "egovframework/com/cop/com/EgovConfirmList"; }