/** * 그룹팝업 화면 * * @param groupVO */ @RequestMapping("/sec/grp/listGroupPopup.do") public String listGroupSearch(@ModelAttribute GroupVO groupVO, ModelMap model) { PaginationInfo paginationInfo = new PaginationInfo(); groupVO.getSearchVO().fillPageInfo(paginationInfo); model.addAttribute("resultList", groupService.selectGroupList(groupVO)); int totCnt = groupService.selectGroupListCnt(groupVO); groupVO.getSearchVO().setTotalRecordCount(totCnt); paginationInfo.setTotalRecordCount(totCnt); model.addAttribute(paginationInfo); return WebUtil.adjustViewName("/sec/grp/GroupSearchPopup"); }
/** * 시스템사용 목적별 그룹 목록 조회 * * @param groupVO */ @IncludedInfo(name = "그룹관리", order = 2030, gid = 20) @RequestMapping(value = "/sec/grp/listGroup.do") @Secured("ROLE_ADMIN") public String listGroup(@ModelAttribute GroupVO groupVO, ModelMap model) { PaginationInfo paginationInfo = new PaginationInfo(); groupVO.getSearchVO().fillPageInfo(paginationInfo); model.addAttribute("resultList", groupService.selectGroupList(groupVO)); int totCnt = groupService.selectGroupListCnt(groupVO); groupVO.getSearchVO().setTotalRecordCount(totCnt); paginationInfo.setTotalRecordCount(totCnt); model.addAttribute(paginationInfo); return WebUtil.adjustViewName("/sec/grp/GroupList"); }