diff --git a/src/main/java/kr/xit/framework/biz/mng/menu/service/impl/XitMenuCreateMngServiceImpl.java b/src/main/java/kr/xit/framework/biz/mng/menu/service/impl/MenuCreateMngServiceImpl.java similarity index 98% rename from src/main/java/kr/xit/framework/biz/mng/menu/service/impl/XitMenuCreateMngServiceImpl.java rename to src/main/java/kr/xit/framework/biz/mng/menu/service/impl/MenuCreateMngServiceImpl.java index a9f89313..ce6515e2 100644 --- a/src/main/java/kr/xit/framework/biz/mng/menu/service/impl/XitMenuCreateMngServiceImpl.java +++ b/src/main/java/kr/xit/framework/biz/mng/menu/service/impl/MenuCreateMngServiceImpl.java @@ -19,7 +19,7 @@ import kr.xit.framework.biz.mng.menu.model.MenuCreateMngVO; import kr.xit.framework.core.message.XitMessageSource; @Service -public class XitMenuCreateMngServiceImpl implements MenuCreateMngService { +public class MenuCreateMngServiceImpl implements MenuCreateMngService { @Resource private MenuListMngMapper menuListMngMapper; diff --git a/src/main/java/kr/xit/framework/biz/mng/menu/service/impl/XitMenuListMngServiceImpl.java b/src/main/java/kr/xit/framework/biz/mng/menu/service/impl/MenuListMngServiceImpl.java similarity index 98% rename from src/main/java/kr/xit/framework/biz/mng/menu/service/impl/XitMenuListMngServiceImpl.java rename to src/main/java/kr/xit/framework/biz/mng/menu/service/impl/MenuListMngServiceImpl.java index f34fecb5..659b1db7 100644 --- a/src/main/java/kr/xit/framework/biz/mng/menu/service/impl/XitMenuListMngServiceImpl.java +++ b/src/main/java/kr/xit/framework/biz/mng/menu/service/impl/MenuListMngServiceImpl.java @@ -31,9 +31,9 @@ import kr.xit.framework.core.message.XitMessageSource; import kr.xit.framework.core.utils.XitCmmnUtil; @Service -public class XitMenuListMngServiceImpl implements MenuListMngService { +public class MenuListMngServiceImpl implements MenuListMngService { - private static final Logger logger = LoggerFactory.getLogger(XitMenuListMngServiceImpl.class); + private static final Logger logger = LoggerFactory.getLogger(MenuListMngServiceImpl.class); @Resource private MenuListMngMapper menuListMngMapper; diff --git a/src/main/java/kr/xit/framework/biz/mng/menu/web/MenuCreateMngController.java b/src/main/java/kr/xit/framework/biz/mng/menu/web/MenuCreateMngController.java index 1948a801..8b96ada6 100644 --- a/src/main/java/kr/xit/framework/biz/mng/menu/web/MenuCreateMngController.java +++ b/src/main/java/kr/xit/framework/biz/mng/menu/web/MenuCreateMngController.java @@ -46,7 +46,7 @@ import org.springframework.web.servlet.ModelAndView; public class MenuCreateMngController { @Resource - private MenuCreateMngService xitMenuCreateMngService; + private MenuCreateMngService menuCreateMngService; @Autowired private XitBeanValidator beanValidator; @Resource(name = "xitMessageSource") @@ -60,14 +60,6 @@ public class MenuCreateMngController { */ @GetMapping(value = "/mngMenuCreateMgtForm") public void mngMenuCreateMgtForm() { - System.out.println("aaaatest1111111111"); - System.out.println("auto merge off"); - System.out.println("auto merge off2"); - System.out.println("auto merge off2"); - System.out.println("auto merge off2"); - System.out.println("auto merge off2"); - System.out.println("auto merge off2"); - } @@ -83,27 +75,26 @@ public class MenuCreateMngController { @GetMapping(value = "/MenuCreateMng_list.ajax") public ModelAndView findsMenuCreate(@RequestParam Map paramMap) { - return ResultResponse.of(xitMenuCreateMngService.findList(paramMap, MybatisUtils.getPagingInfo(paramMap))); + return ResultResponse.of(menuCreateMngService.findList(paramMap, MybatisUtils.getPagingInfo(paramMap))); } /** *
메소드 설명: 요청 페이지로 이동 한다.
- * @param page * @param tilesDef 타일즈 적용 Type(none: tiles 미적용) * @param model * @return String 요청처리 후 응답객체 * @author: 박민규 * @date: 2020. 3. 26. */ - @RequestMapping(value = "/MenuCreateMng_{cmd}", method={RequestMethod.GET, RequestMethod.POST}) - public String MenuCreateMng_page(@PathVariable String cmd + @RequestMapping(value = "/mngMenuCreateMgt_{cmd}", method={RequestMethod.GET, RequestMethod.POST}) + public String mngMenuCreateMgt_page(@PathVariable String cmd , @RequestParam(value="tilesDef", required=false, defaultValue="") String tilesDef , @ModelAttribute("menuCreatVO") MenuCreateMngVO vo, ModelMap model) { switch (cmd) { case "input": //등록 페이지 - List list_menulist = xitMenuCreateMngService.findListOfMenuInfo(vo); + List list_menulist = menuCreateMngService.findListOfMenuInfo(vo); model.addAttribute("list_menulist", list_menulist); model.addAttribute("resultVO", vo); break; @@ -117,7 +108,7 @@ public class MenuCreateMngController { if(!"".equals(tilesDef)) tilesDef = "."+tilesDef; - return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/menu/create/XitMenuCreateMng_"+cmd+tilesDef; + return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/menu/mngMenuCreateMgt_"+cmd+tilesDef; } @@ -146,7 +137,7 @@ public class MenuCreateMngController { /** * 처리 분기 */ - String sLocationUrl = "forward:/framework/biz/mng/menu/MenuCreateMng_list.do"; + String sLocationUrl = "forward:/framework/biz/mng/menu/mngMenuCreateMgtForm.do"; String message = null; switch (cmd) { // case "insert": //등록 @@ -155,14 +146,14 @@ public class MenuCreateMngController { case "inserts": //다건 등록 //처리 try { - xitMenuCreateMngService.addsProc(checkedAuthorForInsert, checkedMenuNoForInsert); + menuCreateMngService.addsProc(checkedAuthorForInsert, checkedMenuNoForInsert); message = xitMessageSource.getMessage("success.common.insert"); } catch (RuntimeException e) { message = e.getMessage(); } catch (Exception e) { message = xitMessageSource.getMessage("fail.common.insert"); } - sLocationUrl = "forward:/framework/biz/mng/menu/MenuCreateMng_input.do?tilesDef=popup"; + sLocationUrl = "forward:/framework/biz/mng/menu/mngMenuCreateMgt_input.do?tilesDef=popup"; break; // case "update": //수정 diff --git a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngMenuCreateMgtForm.jsp b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngMenuCreateMgtForm.jsp index 158380d6..545a16b4 100644 --- a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngMenuCreateMgtForm.jsp +++ b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngMenuCreateMgtForm.jsp @@ -55,12 +55,12 @@