diff --git a/src/main/java/kr/xit/framework/biz/cmm/model/XitMenuCreatDtlsVO.java b/src/main/java/kr/xit/framework/biz/cmm/model/XitMenuCreatDtlsVO.java index 585a231d..4b4d3fa6 100644 --- a/src/main/java/kr/xit/framework/biz/cmm/model/XitMenuCreatDtlsVO.java +++ b/src/main/java/kr/xit/framework/biz/cmm/model/XitMenuCreatDtlsVO.java @@ -1,47 +1,32 @@ package kr.xit.framework.biz.cmm.model; import kr.xit.framework.core.model.BaseVO; +import lombok.Data; /** - * - * @업무그룹명: 메뉴생성내역VO - * @설명: - * @최초작성일: 2020. 3. 21. 오전 10:29:44 - * @최초작성자: 박민규 + * + * @업무그룹명: 메뉴생성내역VO + * @설명: + * @최초작성일: 2022. 10. 21. + * @최초작성자: 최정민 * @author (주)엑스아이티 개발팀 * @since 2002. 2. 2. * @version 1.0 Copyright(c) XIT All rights reserved. */ +@Data public class XitMenuCreatDtlsVO extends BaseVO { /** * serialVersionUID */ private static final long serialVersionUID = 568460849738293096L; + + + protected String menuNo; //메뉴 번호 + protected String authorCode; //권한 코드 + protected String mapngCreatId; //매핑 생성 id - - protected String menu_no; //메뉴 번호 - protected String author_code; //권한 코드 - protected String mapng_creat_id; //매핑 생성 id - - public String getMenu_no() { - return menu_no; - } - public void setMenu_no(String menu_no) { - this.menu_no = menu_no; - } - public String getAuthor_code() { - return author_code; - } - public void setAuthor_code(String author_code) { - this.author_code = author_code; - } - public String getMapng_creat_id() { - return mapng_creat_id; - } - public void setMapng_creat_id(String mapng_creat_id) { - this.mapng_creat_id = mapng_creat_id; - } + } diff --git a/src/main/java/kr/xit/framework/biz/cmm/service/impl/XitFrameCrudServiceImpl.java b/src/main/java/kr/xit/framework/biz/cmm/service/impl/XitFrameCrudServiceImpl.java index 27e36387..d785bd9c 100644 --- a/src/main/java/kr/xit/framework/biz/cmm/service/impl/XitFrameCrudServiceImpl.java +++ b/src/main/java/kr/xit/framework/biz/cmm/service/impl/XitFrameCrudServiceImpl.java @@ -2918,9 +2918,9 @@ public class XitFrameCrudServiceImpl implements XitFrameCrudService{ * 필수조건 확인 */ String emsg = null; - if(XitCmmnUtil.isEmpty(vo.getMenu_no())) + if(XitCmmnUtil.isEmpty(vo.getMenuNo())) emsg = String.format("(%s)메뉴번호(은)는 필수조건 입니다.", table); - if(XitCmmnUtil.isEmpty(vo.getAuthor_code())) + if(XitCmmnUtil.isEmpty(vo.getAuthorCode())) emsg = String.format("(%s)권한코드(은)는 필수조건 입니다.", table); if(emsg!=null){ logger.error(emsg); @@ -2951,9 +2951,9 @@ public class XitFrameCrudServiceImpl implements XitFrameCrudService{ * 필수조건 확인 */ String emsg = null; - if(XitCmmnUtil.isEmpty(vo.getMenu_no())) + if(XitCmmnUtil.isEmpty(vo.getMenuNo())) emsg = String.format("(%s)메뉴번호(은)는 필수조건 입니다.", table); - if(XitCmmnUtil.isEmpty(vo.getAuthor_code())) + if(XitCmmnUtil.isEmpty(vo.getAuthorCode())) emsg = String.format("(%s)권한코드(은)는 필수조건 입니다.", table); if(emsg!=null){ logger.error(emsg); @@ -2986,9 +2986,9 @@ public class XitFrameCrudServiceImpl implements XitFrameCrudService{ * 필수조건 확인 */ String emsg = null; - if(XitCmmnUtil.isEmpty(vo.getMenu_no())) + if(XitCmmnUtil.isEmpty(vo.getMenuNo())) emsg = String.format("(%s)메뉴번호(은)는 필수조건 입니다.", table); - if(XitCmmnUtil.isEmpty(vo.getAuthor_code())) + if(XitCmmnUtil.isEmpty(vo.getAuthorCode())) emsg = String.format("(%s)권한코드(은)는 필수조건 입니다.", table); if(emsg!=null){ logger.error(emsg); @@ -3021,9 +3021,9 @@ public class XitFrameCrudServiceImpl implements XitFrameCrudService{ * 필수조건 확인 */ String emsg = null; - if(XitCmmnUtil.isEmpty(vo.getMenu_no())) + if(XitCmmnUtil.isEmpty(vo.getMenuNo())) emsg = String.format("(%s)메뉴번호(은)는 필수조건 입니다.", table); - if(XitCmmnUtil.isEmpty(vo.getAuthor_code())) + if(XitCmmnUtil.isEmpty(vo.getAuthorCode())) emsg = String.format("(%s)권한코드(은)는 필수조건 입니다.", table); if(emsg!=null){ logger.error(emsg); diff --git a/src/main/java/kr/xit/framework/biz/mng/menu/service/impl/MenuCreateMngServiceImpl.java b/src/main/java/kr/xit/framework/biz/mng/menu/service/impl/MenuCreateMngServiceImpl.java index ce6515e2..094cf7d3 100644 --- a/src/main/java/kr/xit/framework/biz/mng/menu/service/impl/MenuCreateMngServiceImpl.java +++ b/src/main/java/kr/xit/framework/biz/mng/menu/service/impl/MenuCreateMngServiceImpl.java @@ -82,7 +82,7 @@ public class MenuCreateMngServiceImpl implements MenuCreateMngService { */ //이전에 존재하는 권한코드에 대한 메뉴생성내역 삭제 XitMenuCreatDtlsVO xitMenuCreatDtlsVO = new XitMenuCreatDtlsVO(); - xitMenuCreatDtlsVO.setAuthor_code(authorCode); + xitMenuCreatDtlsVO.setAuthorCode(authorCode); List listBeforeData = xitFrameCrudService.findXitMenuCreatDtlss(xitMenuCreatDtlsVO); for(XitMenuCreatDtlsVO menuCreatDtlsVO : listBeforeData) { xitFrameCrudService.removeXitMenuCreatDtls(menuCreatDtlsVO); @@ -125,9 +125,9 @@ public class MenuCreateMngServiceImpl implements MenuCreateMngService { */ private XitMenuCreatDtlsVO convertToCrudVO(String menuNo, String authorCode, String mapngCreatId) { XitMenuCreatDtlsVO menuCreatDtlsVO = new XitMenuCreatDtlsVO(); - menuCreatDtlsVO.setMenu_no (menuNo); - menuCreatDtlsVO.setAuthor_code (authorCode); - menuCreatDtlsVO.setMapng_creat_id(mapngCreatId); + menuCreatDtlsVO.setMenuNo (menuNo); + menuCreatDtlsVO.setAuthorCode (authorCode); + menuCreatDtlsVO.setMapngCreatId(mapngCreatId); return menuCreatDtlsVO; } 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 ecdaa2e4..41bb22e9 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 @@ -122,7 +122,7 @@ public class MenuCreateMngController { * @throws ServletException * @date: 2020. 3. 25. */ - @RequestMapping(value = "/MenuCreateMng_{cmd}_proc", method=RequestMethod.POST) + @RequestMapping(value = "/mngMenuCreateMgt_{cmd}_proc", method=RequestMethod.POST) public void MenuCreateMng_cmd_proc(HttpServletRequest req ,@PathVariable String cmd ,@ModelAttribute("menuCreatVO") MenuCreateMngVO vo diff --git a/src/main/resources/sqlmapper/framework/cmm/XitFrameCrud-mysql-mapper.xml b/src/main/resources/sqlmapper/framework/cmm/XitFrameCrud-mysql-mapper.xml index 4f703b0b..eb4339d4 100644 --- a/src/main/resources/sqlmapper/framework/cmm/XitFrameCrud-mysql-mapper.xml +++ b/src/main/resources/sqlmapper/framework/cmm/XitFrameCrud-mysql-mapper.xml @@ -1654,14 +1654,14 @@