/** * 등록된 휴가관리의 상세정보를 조회한다. * * @param vcatnManageVO - 휴가관리 VO * @return String - 리턴 Url */ @RequestMapping(value = "/uss/ion/vct/EgovVcatnManageDetail.do") public String selectVcatnManage( @ModelAttribute("vcatnManageVO") VcatnManageVO vcatnManageVO, @ModelAttribute("vcatnManage") VcatnManage vcatnManage, @RequestParam Map<?, ?> commandMap, ModelMap model) throws Exception { List<?> vcatnSeCodeList = null; String sCmd = commandMap.get("cmd") == null ? "" : (String) commandMap.get("cmd"); // 상세정보 구분 vcatnManageVO.setBgnde(EgovStringUtil.removeMinusChar(vcatnManageVO.getBgnde())); vcatnManageVO.setEndde(EgovStringUtil.removeMinusChar(vcatnManageVO.getEndde())); // 등록 상세정보 VcatnManageVO vcatnManageVOTemp = egovVcatnManageService.selectVcatnManage(vcatnManageVO); model.addAttribute("vcatnManageVO", vcatnManageVOTemp); model.addAttribute("message", egovMessageSource.getMessage("success.common.select")); if (sCmd.equals("updt")) { ComDefaultCodeVO vo = new ComDefaultCodeVO(); vo.setCodeId("COM056"); vcatnSeCodeList = cmmUseService.selectCmmCodeDetail(vo); model.addAttribute("vcatnSeCode", vcatnSeCodeList); model.addAttribute("vcatnManage", vcatnManageVOTemp); return "egovframework/com/uss/ion/vct/EgovVcatnUpdt"; } else { return "egovframework/com/uss/ion/vct/EgovVcatnDetail"; } }
/** * 휴가승인관리 상세정보를 조회한다. * * @param vcatnManageVO - 휴가관리 VO * @return String - 리턴 Url */ @RequestMapping(value = "/uss/ion/vct/EgovVcatnConfm.do") public String selectVcatnConfm( @ModelAttribute("vcatnManageVO") VcatnManageVO vcatnManageVO, @ModelAttribute("vcatnManage") VcatnManage vcatnManage, ModelMap model) throws Exception { vcatnManageVO.setBgnde(EgovStringUtil.removeMinusChar(vcatnManageVO.getBgnde())); vcatnManageVO.setEndde(EgovStringUtil.removeMinusChar(vcatnManageVO.getEndde())); // 등록 상세정보 VcatnManageVO vcatnManageVOTemp = egovVcatnManageService.selectVcatnManage(vcatnManageVO); model.addAttribute("vcatnManageVO", vcatnManageVOTemp); model.addAttribute("vcatnManage", vcatnManageVOTemp); model.addAttribute("message", egovMessageSource.getMessage("success.common.select")); return "egovframework/com/uss/ion/vct/EgovVcatnConfm"; }