// 옵션 비교페이지로 이동합니다. @SuppressWarnings("unchecked") @RequestMapping(value = "/option_03.isnet") public ModelAndView option_03() { logger.debug("[" + getClass().getSimpleName() + "] [option_03] start"); ModelAndView mav = new ModelAndView(); mav.setViewName("/option/option_03"); try { Map<String, Object> resultData = commonCodeMap.getCommonCodeMap(); List<Map<String, Object>> customerList = (List<Map<String, Object>>) resultData.get("customerList"); List<Map<String, Object>> productList = (List<Map<String, Object>>) resultData.get("productList"); // List<Map<String, Object>> optionFile = optionService.select_option_03_05(); mav.addObject("customerList", customerList); mav.addObject("productList", productList); // mav.addObject("optionFile", optionFile); } catch (Exception e) { e.printStackTrace(); logger.error("[" + getClass().getSimpleName() + "] [option_03] 조회 오류"); mav.addObject("error_msg", "옵션 조회중 오류가 발생하였습니다."); mav.setViewName("error"); } finally { logger.debug("[" + getClass().getSimpleName() + "] [option_03] end"); } return mav; }
// 옵션 등록페이지로 이동합니다. @SuppressWarnings("unchecked") @RequestMapping(value = "/option_05.isnet") public ModelAndView option_05() { Map<String, Object> resultData = commonCodeMap.getCommonCodeMap(); List<Map<String, Object>> product = (List<Map<String, Object>>) resultData.get("productList"); ModelAndView mav = new ModelAndView(); mav.setViewName("/option/option_05"); mav.addObject("product", product); mav.addObject("productSize", product.size()); return mav; }