From 89d8af7c4229752fcd832c9c7959a3c5c7ac4d23 Mon Sep 17 00:00:00 2001 From: Kurt92 Date: Tue, 18 Oct 2022 18:14:35 +0900 Subject: [PATCH] checkout test --- .../create/dao/XitMenuCreateMngMapper.java | 80 ------------ .../menu/list/dao/XitMenuListMngMapper.java | 60 --------- .../mng/menu/mapper/MenuCreateMngMapper.java | 80 ++++++++++++ .../mng/menu/mapper/MenuListMngMapper.java | 115 ++++++++++++++++++ .../{ => menu}/mapper/ProgramMngMapper.java | 4 +- .../MenuCreateMngSearchVO.java} | 4 +- .../MenuCreateMngVO.java} | 4 +- .../MenuListMngSearchVO.java} | 4 +- .../MenuListMngVO.java} | 4 +- .../{ => menu}/model/ProgramMngSearchVO.java | 2 +- .../mng/{ => menu}/model/ProgramMngVO.java | 2 +- .../MenuCreateMngService.java} | 18 +-- .../MenuListMngService.java} | 32 ++--- .../{ => menu}/service/ProgramMngService.java | 5 +- .../service/impl/ProgramMngServiceImpl.java | 8 +- .../impl/XitMenuCreateMngServiceImpl.java | 40 +++--- .../impl/XitMenuListMngServiceImpl.java | 55 ++++----- .../MenuCreateMngController.java} | 51 ++++---- .../MenuListMngController.java} | 109 +++++++---------- .../{ => menu}/web/ProgramMngController.java | 8 +- src/main/resources/logback-dev.xml | 23 +++- .../menu/list/XitMenuListMng-mysql-mapper.xml | 85 ------------- .../list/XitMenuListMng-oracle-mapper.xml | 87 ------------- ...per.xml => menuCreateMng-mysql-mapper.xml} | 58 ++++----- ...er.xml => menuCreateMng-oracle-mapper.xml} | 73 +++++------ .../mng/menu/menuListMng-mysql-mapper.xml | 70 +++++++++++ .../mng/menu/menuListMng-oracle-mapper.xml | 70 +++++++++++ .../mng/menu/program-mysql-mapper.xml | 10 +- .../mng/menu/program-oracle-mapper.xml | 2 +- .../WEB-INF/jsp/framework/XitIncludeBase.jsp | 2 +- .../menu/create/XitMenuCreateMng_input.jsp | 21 ++-- .../create/backup/XitMenuCreateMng_list2.jsp | 10 +- .../biz/mng/menu/list/XitMenuListMng_edit.jsp | 8 +- .../mng/menu/list/XitMenuListMng_input.jsp | 8 +- .../mng/menu/list/XitMenuListMng_inputs.jsp | 2 +- .../menu/list/backup/XitMenuListMng_edit.jsp | 10 +- .../menu/list/backup/XitMenuListMng_input.jsp | 6 +- .../list/backup/XitMenuListMng_inputs.jsp | 6 +- .../menu/list/backup/XitMenuListMng_list2.jsp | 14 +-- ...eMng_list.jsp => mngMenuCreateMgtForm.jsp} | 11 +- ...enuListMng_list.jsp => mngMenuMgtForm.jsp} | 10 +- .../biz/mng/menu/mngProgramMgtFrom.jsp | 2 +- .../js/framework/egov/EgovMainMenu.js | 3 +- .../js/framework/egov/EgovMenuCreat.js | 2 +- 44 files changed, 641 insertions(+), 637 deletions(-) delete mode 100644 src/main/java/kr/xit/framework/biz/mng/menu/create/dao/XitMenuCreateMngMapper.java delete mode 100644 src/main/java/kr/xit/framework/biz/mng/menu/list/dao/XitMenuListMngMapper.java create mode 100644 src/main/java/kr/xit/framework/biz/mng/menu/mapper/MenuCreateMngMapper.java create mode 100644 src/main/java/kr/xit/framework/biz/mng/menu/mapper/MenuListMngMapper.java rename src/main/java/kr/xit/framework/biz/mng/{ => menu}/mapper/ProgramMngMapper.java (92%) rename src/main/java/kr/xit/framework/biz/mng/menu/{create/model/XitMenuCreateMngSearchVO.java => model/MenuCreateMngSearchVO.java} (78%) rename src/main/java/kr/xit/framework/biz/mng/menu/{create/model/XitMenuCreateMngVO.java => model/MenuCreateMngVO.java} (97%) rename src/main/java/kr/xit/framework/biz/mng/menu/{list/model/XitMenuListMngSearchVO.java => model/MenuListMngSearchVO.java} (78%) rename src/main/java/kr/xit/framework/biz/mng/menu/{list/model/XitMenuListMngVO.java => model/MenuListMngVO.java} (98%) rename src/main/java/kr/xit/framework/biz/mng/{ => menu}/model/ProgramMngSearchVO.java (91%) rename src/main/java/kr/xit/framework/biz/mng/{ => menu}/model/ProgramMngVO.java (95%) rename src/main/java/kr/xit/framework/biz/mng/menu/{create/service/XitMenuCreateMngService.java => service/MenuCreateMngService.java} (72%) rename src/main/java/kr/xit/framework/biz/mng/menu/{list/service/XitMenuListMngService.java => service/MenuListMngService.java} (70%) rename src/main/java/kr/xit/framework/biz/mng/{ => menu}/service/ProgramMngService.java (92%) rename src/main/java/kr/xit/framework/biz/mng/{ => menu}/service/impl/ProgramMngServiceImpl.java (90%) rename src/main/java/kr/xit/framework/biz/mng/menu/{create => }/service/impl/XitMenuCreateMngServiceImpl.java (70%) rename src/main/java/kr/xit/framework/biz/mng/menu/{list => }/service/impl/XitMenuListMngServiceImpl.java (90%) rename src/main/java/kr/xit/framework/biz/mng/menu/{create/web/XitMenuCreateMngController.java => web/MenuCreateMngController.java} (77%) rename src/main/java/kr/xit/framework/biz/mng/menu/{list/web/XitMenuListMngController.java => web/MenuListMngController.java} (73%) rename src/main/java/kr/xit/framework/biz/mng/{ => menu}/web/ProgramMngController.java (98%) delete mode 100644 src/main/resources/sqlmapper/framework/mng/menu/list/XitMenuListMng-mysql-mapper.xml delete mode 100644 src/main/resources/sqlmapper/framework/mng/menu/list/XitMenuListMng-oracle-mapper.xml rename src/main/resources/sqlmapper/framework/mng/menu/{create/XitMenuCreateMng-mysql-mapper.xml => menuCreateMng-mysql-mapper.xml} (74%) rename src/main/resources/sqlmapper/framework/mng/menu/{create/XitMenuCreateMng-oracle-mapper.xml => menuCreateMng-oracle-mapper.xml} (67%) create mode 100644 src/main/resources/sqlmapper/framework/mng/menu/menuListMng-mysql-mapper.xml create mode 100644 src/main/resources/sqlmapper/framework/mng/menu/menuListMng-oracle-mapper.xml rename src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/{create/XitMenuCreateMng_list.jsp => mngMenuCreateMgtForm.jsp} (95%) rename src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/{list/XitMenuListMng_list.jsp => mngMenuMgtForm.jsp} (94%) diff --git a/src/main/java/kr/xit/framework/biz/mng/menu/create/dao/XitMenuCreateMngMapper.java b/src/main/java/kr/xit/framework/biz/mng/menu/create/dao/XitMenuCreateMngMapper.java deleted file mode 100644 index 1a880279..00000000 --- a/src/main/java/kr/xit/framework/biz/mng/menu/create/dao/XitMenuCreateMngMapper.java +++ /dev/null @@ -1,80 +0,0 @@ -package kr.xit.framework.biz.mng.menu.create.dao; - -import java.sql.SQLException; -import java.util.List; -import java.util.Map; - -import egovframework.rte.psl.dataaccess.mapper.Mapper; -import kr.xit.framework.biz.mng.menu.create.model.XitMenuCreateMngSearchVO; -import kr.xit.framework.biz.mng.menu.create.model.XitMenuCreateMngVO; -import org.apache.ibatis.session.RowBounds; - -/** - * - * @업무그룹명: 메뉴생성관리 Mapper - * @설명: - * @최초작성일: 2020. 3. 26. 오전 10:03:50 - * @최초작성자: 박민규 - * @author (주)엑스아이티 개발팀 - * @since 2002. 2. 2. - * @version 1.0 Copyright(c) XIT All rights reserved. - */ -@Mapper -public interface XitMenuCreateMngMapper { - - /** - *
메소드 설명: 메뉴생성관리 목록 조회
- * @param searchVO - * @return List 요청처리 후 응답객체 - * @author: 박민규 - * @date: 2020. 3. 26. - */ - public List findList(Map paramMap, RowBounds rowBounds); - - /** - *
메소드 설명: 메뉴생성관리 목록 총건수 조회
- * @param searchVO - * @return int 요청처리 후 응답객체 - * @author: 박민규 - * @date: 2020. 3. 26. - */ - public int findListTotCnt(XitMenuCreateMngSearchVO searchVO) throws SQLException; - - /** - *
메소드 설명: 메뉴생성관리 상세정보 조회
- * @param vo - * @return XitMenuCreateMngVO 요청처리 후 응답객체 - * @author: 박민규 - * @date: 2020. 3. 26. - */ - public XitMenuCreateMngVO findView(XitMenuCreateMngVO vo) throws SQLException; - - /** - *
메소드 설명: 메뉴목록 조회
- * @param vo - * @return - * @author: 박민규 - * @date: 2020. 3. 31. - */ - public List findListOfMenuInfo(XitMenuCreateMngVO vo) throws SQLException; - - /** - *
메소드 설명: 사용자별 사용자보안설정 데이터 조회
- * @param searchVO - * @return XitMenuCreateMngVO 요청처리 후 응답객체 - * @author: 박민규 - * @date: 2020. 3. 31. - */ - public XitMenuCreateMngVO findUserScrtySetupByUsr(XitMenuCreateMngSearchVO searchVO) throws SQLException; - - /** - *
메소드 설명: 매뉴생성내역 전체데이터 삭제
- * @return int 요청처리 후 응답객체 - * @author: 박민규 - * @date: 2020. 3. 31. - */ - public int deleteAllMenuCreatDtlsList() throws SQLException; - - - -} diff --git a/src/main/java/kr/xit/framework/biz/mng/menu/list/dao/XitMenuListMngMapper.java b/src/main/java/kr/xit/framework/biz/mng/menu/list/dao/XitMenuListMngMapper.java deleted file mode 100644 index c8cc89e0..00000000 --- a/src/main/java/kr/xit/framework/biz/mng/menu/list/dao/XitMenuListMngMapper.java +++ /dev/null @@ -1,60 +0,0 @@ -package kr.xit.framework.biz.mng.menu.list.dao; - -import java.sql.SQLException; -import java.util.List; -import java.util.Map; - -import egovframework.rte.psl.dataaccess.mapper.Mapper; -import kr.xit.framework.biz.mng.menu.list.model.XitMenuListMngVO; -import kr.xit.framework.biz.mng.menu.list.model.XitMenuListMngSearchVO; -import org.apache.ibatis.session.RowBounds; - -/** - * - * @업무그룹명: 메뉴목록관리 Mapper - * @설명: - * @최초작성일: 2020. 3. 26. 오전 10:03:50 - * @최초작성자: 박민규 - * @author (주)엑스아이티 개발팀 - * @since 2002. 2. 2. - * @version 1.0 Copyright(c) XIT All rights reserved. - */ -@Mapper -public interface XitMenuListMngMapper { - - /** - *
메소드 설명: 메뉴목록관리 목록 조회
- * @param map - * @return List 요청처리 후 응답객체 - * @author: 박민규 - * @date: 2020. 3. 26. - */ - public List findList(Map paramMap, RowBounds rowBounds); - - /** - *
메소드 설명: 메뉴목록관리 목록 총건수 조회
- * @param searchVO - * @return int 요청처리 후 응답객체 - * @author: 박민규 - * @date: 2020. 3. 26. - */ - public int findListTotCnt(XitMenuListMngSearchVO searchVO) throws SQLException; - - /** - *
메소드 설명: 메뉴목록관리 상세정보 조회
- * @param vo - * @return XitMenuListMngVO 요청처리 후 응답객체 - * @author: 박민규 - * @date: 2020. 3. 26. - */ - public XitMenuListMngVO findView(XitMenuListMngVO vo) throws SQLException; - - /** - *
메소드 설명: 메뉴정보 전체데이터 삭제
- * @return - * @throws SQLException int 요청처리 후 응답객체 - * @author: 박민규 - * @date: 2020. 3. 27. - */ - public int deleteAllMenuList() throws SQLException; -} diff --git a/src/main/java/kr/xit/framework/biz/mng/menu/mapper/MenuCreateMngMapper.java b/src/main/java/kr/xit/framework/biz/mng/menu/mapper/MenuCreateMngMapper.java new file mode 100644 index 00000000..2fb146fe --- /dev/null +++ b/src/main/java/kr/xit/framework/biz/mng/menu/mapper/MenuCreateMngMapper.java @@ -0,0 +1,80 @@ +//package kr.xit.framework.biz.mng.mapper; +// +//import java.sql.SQLException; +//import java.util.List; +//import java.util.Map; +// +//import egovframework.rte.psl.dataaccess.mapper.Mapper; +//import kr.xit.framework.biz.mng.model.MenuCreateMngSearchVO; +//import kr.xit.framework.biz.mng.model.MenuCreateMngVO; +//import org.apache.ibatis.session.RowBounds; +// +///** +// * +// * @업무그룹명: 메뉴생성관리 Mapper +// * @설명: +// * @최초작성일: 2020. 3. 26. 오전 10:03:50 +// * @최초작성자: 박민규 +// * @author (주)엑스아이티 개발팀 +// * @since 2002. 2. 2. +// * @version 1.0 Copyright(c) XIT All rights reserved. +// */ +//@Mapper +//public interface MenuCreateMngMapper { +// +// /** +// *
메소드 설명: 메뉴생성관리 목록 조회
+// * @param searchVO +// * @return List 요청처리 후 응답객체 +// * @author: 박민규 +// * @date: 2020. 3. 26. +// */ +// public List findList(Map paramMap, RowBounds rowBounds); +// +// /** +// *
메소드 설명: 메뉴생성관리 목록 총건수 조회
+// * @param searchVO +// * @return int 요청처리 후 응답객체 +// * @author: 박민규 +// * @date: 2020. 3. 26. +// */ +// public int findListTotCnt(MenuCreateMngSearchVO searchVO) throws SQLException; +// +// /** +// *
메소드 설명: 메뉴생성관리 상세정보 조회
+// * @param vo +// * @return XitMenuCreateMngVO 요청처리 후 응답객체 +// * @author: 박민규 +// * @date: 2020. 3. 26. +// */ +// public MenuCreateMngVO findView(MenuCreateMngVO vo) throws SQLException; +// +// /** +// *
메소드 설명: 메뉴목록 조회
+// * @param vo +// * @return +// * @author: 박민규 +// * @date: 2020. 3. 31. +// */ +// public List findListOfMenuInfo(MenuCreateMngVO vo) throws SQLException; +// +// /** +// *
메소드 설명: 사용자별 사용자보안설정 데이터 조회
+// * @param searchVO +// * @return XitMenuCreateMngVO 요청처리 후 응답객체 +// * @author: 박민규 +// * @date: 2020. 3. 31. +// */ +// public MenuCreateMngVO findUserScrtySetupByUsr(MenuCreateMngSearchVO searchVO) throws SQLException; +// +// /** +// *
메소드 설명: 매뉴생성내역 전체데이터 삭제
+// * @return int 요청처리 후 응답객체 +// * @author: 박민규 +// * @date: 2020. 3. 31. +// */ +// public int deleteAllMenuCreatDtlsList() throws SQLException; +// +// +// +//} diff --git a/src/main/java/kr/xit/framework/biz/mng/menu/mapper/MenuListMngMapper.java b/src/main/java/kr/xit/framework/biz/mng/menu/mapper/MenuListMngMapper.java new file mode 100644 index 00000000..d299d4a5 --- /dev/null +++ b/src/main/java/kr/xit/framework/biz/mng/menu/mapper/MenuListMngMapper.java @@ -0,0 +1,115 @@ +package kr.xit.framework.biz.mng.menu.mapper; + +import java.sql.SQLException; +import java.util.List; +import java.util.Map; + +import egovframework.rte.psl.dataaccess.mapper.Mapper; +import kr.xit.framework.biz.mng.menu.model.MenuCreateMngSearchVO; +import kr.xit.framework.biz.mng.menu.model.MenuCreateMngVO; +import kr.xit.framework.biz.mng.menu.model.MenuListMngVO; +import kr.xit.framework.biz.mng.menu.model.MenuListMngSearchVO; +import org.apache.ibatis.session.RowBounds; + +/** + * + * @업무그룹명: 메뉴목록관리 Mapper + * @설명: + * @최초작성일: 2020. 3. 26. 오전 10:03:50 + * @최초작성자: 박민규 + * @author (주)엑스아이티 개발팀 + * @since 2002. 2. 2. + * @version 1.0 Copyright(c) XIT All rights reserved. + */ +@Mapper +public interface MenuListMngMapper { + + /** + *
메소드 설명: 메뉴목록관리 목록 조회
+ * @param paramMap + * @return List 요청처리 후 응답객체 + * @author: 박민규 + * @date: 2020. 3. 26. + */ + public List findMenuList(Map paramMap, RowBounds rowBounds); + + /** + *
메소드 설명: 메뉴목록관리 목록 총건수 조회
+ * @param searchVO + * @return int 요청처리 후 응답객체 + * @author: 박민규 + * @date: 2020. 3. 26. + */ + public int findMenuListTotCnt(MenuListMngSearchVO searchVO) throws SQLException; + + /** + *
메소드 설명: 메뉴목록관리 상세정보 조회
+ * @param vo + * @return MenuListMngVO 요청처리 후 응답객체 + * @author: 박민규 + * @date: 2020. 3. 26. + */ + public MenuListMngVO findMenuView(MenuListMngVO vo) throws SQLException; + + /** + *
메소드 설명: 메뉴정보 전체데이터 삭제
+ * @return + * @throws SQLException int 요청처리 후 응답객체 + * @author: 박민규 + * @date: 2020. 3. 27. + */ + public int deleteAllMenuList() throws SQLException; + + /** + *
메소드 설명: 메뉴생성관리 목록 조회
+ * @param paramMap + * @return List 요청처리 후 응답객체 + * @author: 박민규 + * @date: 2020. 3. 26. + */ + public List findList(Map paramMap, RowBounds rowBounds); + + /** + *
메소드 설명: 메뉴생성관리 목록 총건수 조회
+ * @param searchVO + * @return int 요청처리 후 응답객체 + * @author: 박민규 + * @date: 2020. 3. 26. + */ + public int findListTotCnt(MenuCreateMngSearchVO searchVO) throws SQLException; + + /** + *
메소드 설명: 메뉴생성관리 상세정보 조회
+ * @param vo + * @return XitMenuCreateMngVO 요청처리 후 응답객체 + * @author: 박민규 + * @date: 2020. 3. 26. + */ + public MenuCreateMngVO findView(MenuCreateMngVO vo) throws SQLException; + + /** + *
메소드 설명: 메뉴목록 조회
+ * @param vo + * @return + * @author: 박민규 + * @date: 2020. 3. 31. + */ + public List findListOfMenuInfo(MenuCreateMngVO vo) throws SQLException; + + /** + *
메소드 설명: 사용자별 사용자보안설정 데이터 조회
+ * @param searchVO + * @return XitMenuCreateMngVO 요청처리 후 응답객체 + * @author: 박민규 + * @date: 2020. 3. 31. + */ + public MenuCreateMngVO findUserScrtySetupByUsr(MenuCreateMngSearchVO searchVO) throws SQLException; + + /** + *
메소드 설명: 매뉴생성내역 전체데이터 삭제
+ * @return int 요청처리 후 응답객체 + * @author: 박민규 + * @date: 2020. 3. 31. + */ + public int deleteAllMenuCreatDtlsList() throws SQLException; +} diff --git a/src/main/java/kr/xit/framework/biz/mng/mapper/ProgramMngMapper.java b/src/main/java/kr/xit/framework/biz/mng/menu/mapper/ProgramMngMapper.java similarity index 92% rename from src/main/java/kr/xit/framework/biz/mng/mapper/ProgramMngMapper.java rename to src/main/java/kr/xit/framework/biz/mng/menu/mapper/ProgramMngMapper.java index e9caf582..b4e1d259 100644 --- a/src/main/java/kr/xit/framework/biz/mng/mapper/ProgramMngMapper.java +++ b/src/main/java/kr/xit/framework/biz/mng/menu/mapper/ProgramMngMapper.java @@ -1,4 +1,4 @@ -package kr.xit.framework.biz.mng.mapper; +package kr.xit.framework.biz.mng.menu.mapper; import java.util.List; import java.util.Map; @@ -6,7 +6,7 @@ import java.util.Map; import org.apache.ibatis.session.RowBounds; import egovframework.rte.psl.dataaccess.mapper.Mapper; -import kr.xit.framework.biz.mng.model.ProgramMngVO; +import kr.xit.framework.biz.mng.menu.model.ProgramMngVO; /** * diff --git a/src/main/java/kr/xit/framework/biz/mng/menu/create/model/XitMenuCreateMngSearchVO.java b/src/main/java/kr/xit/framework/biz/mng/menu/model/MenuCreateMngSearchVO.java similarity index 78% rename from src/main/java/kr/xit/framework/biz/mng/menu/create/model/XitMenuCreateMngSearchVO.java rename to src/main/java/kr/xit/framework/biz/mng/menu/model/MenuCreateMngSearchVO.java index e36e7ae0..91a5ec5a 100644 --- a/src/main/java/kr/xit/framework/biz/mng/menu/create/model/XitMenuCreateMngSearchVO.java +++ b/src/main/java/kr/xit/framework/biz/mng/menu/model/MenuCreateMngSearchVO.java @@ -1,4 +1,4 @@ -package kr.xit.framework.biz.mng.menu.create.model; +package kr.xit.framework.biz.mng.menu.model; import kr.xit.framework.core.model.XitBaseSearchVO; @@ -12,7 +12,7 @@ import kr.xit.framework.core.model.XitBaseSearchVO; * @since 2002. 2. 2. * @version 1.0 Copyright(c) XIT All rights reserved. */ -public class XitMenuCreateMngSearchVO extends XitBaseSearchVO{ +public class MenuCreateMngSearchVO extends XitBaseSearchVO{ /** * serialVersionUID diff --git a/src/main/java/kr/xit/framework/biz/mng/menu/create/model/XitMenuCreateMngVO.java b/src/main/java/kr/xit/framework/biz/mng/menu/model/MenuCreateMngVO.java similarity index 97% rename from src/main/java/kr/xit/framework/biz/mng/menu/create/model/XitMenuCreateMngVO.java rename to src/main/java/kr/xit/framework/biz/mng/menu/model/MenuCreateMngVO.java index f8007cd9..eda3ba57 100644 --- a/src/main/java/kr/xit/framework/biz/mng/menu/create/model/XitMenuCreateMngVO.java +++ b/src/main/java/kr/xit/framework/biz/mng/menu/model/MenuCreateMngVO.java @@ -1,4 +1,4 @@ -package kr.xit.framework.biz.mng.menu.create.model; +package kr.xit.framework.biz.mng.menu.model; import kr.xit.framework.core.model.BaseVO; @@ -12,7 +12,7 @@ import kr.xit.framework.core.model.BaseVO; * @since 2002. 2. 2. * @version 1.0 Copyright(c) XIT All rights reserved. */ -public class XitMenuCreateMngVO extends BaseVO { +public class MenuCreateMngVO extends BaseVO { /** * serialVersionUID */ diff --git a/src/main/java/kr/xit/framework/biz/mng/menu/list/model/XitMenuListMngSearchVO.java b/src/main/java/kr/xit/framework/biz/mng/menu/model/MenuListMngSearchVO.java similarity index 78% rename from src/main/java/kr/xit/framework/biz/mng/menu/list/model/XitMenuListMngSearchVO.java rename to src/main/java/kr/xit/framework/biz/mng/menu/model/MenuListMngSearchVO.java index a5cc5b8a..317842e8 100644 --- a/src/main/java/kr/xit/framework/biz/mng/menu/list/model/XitMenuListMngSearchVO.java +++ b/src/main/java/kr/xit/framework/biz/mng/menu/model/MenuListMngSearchVO.java @@ -1,4 +1,4 @@ -package kr.xit.framework.biz.mng.menu.list.model; +package kr.xit.framework.biz.mng.menu.model; import kr.xit.framework.core.model.XitBaseSearchVO; @@ -12,7 +12,7 @@ import kr.xit.framework.core.model.XitBaseSearchVO; * @since 2002. 2. 2. * @version 1.0 Copyright(c) XIT All rights reserved. */ -public class XitMenuListMngSearchVO extends XitBaseSearchVO{ +public class MenuListMngSearchVO extends XitBaseSearchVO{ /** * serialVersionUID diff --git a/src/main/java/kr/xit/framework/biz/mng/menu/list/model/XitMenuListMngVO.java b/src/main/java/kr/xit/framework/biz/mng/menu/model/MenuListMngVO.java similarity index 98% rename from src/main/java/kr/xit/framework/biz/mng/menu/list/model/XitMenuListMngVO.java rename to src/main/java/kr/xit/framework/biz/mng/menu/model/MenuListMngVO.java index e7b2b677..be4882a6 100644 --- a/src/main/java/kr/xit/framework/biz/mng/menu/list/model/XitMenuListMngVO.java +++ b/src/main/java/kr/xit/framework/biz/mng/menu/model/MenuListMngVO.java @@ -1,4 +1,4 @@ -package kr.xit.framework.biz.mng.menu.list.model; +package kr.xit.framework.biz.mng.menu.model; import kr.xit.framework.core.model.BaseVO; @@ -12,7 +12,7 @@ import kr.xit.framework.core.model.BaseVO; * @since 2002. 2. 2. * @version 1.0 Copyright(c) XIT All rights reserved. */ -public class XitMenuListMngVO extends BaseVO { +public class MenuListMngVO extends BaseVO { /** * serialVersionUID */ diff --git a/src/main/java/kr/xit/framework/biz/mng/model/ProgramMngSearchVO.java b/src/main/java/kr/xit/framework/biz/mng/menu/model/ProgramMngSearchVO.java similarity index 91% rename from src/main/java/kr/xit/framework/biz/mng/model/ProgramMngSearchVO.java rename to src/main/java/kr/xit/framework/biz/mng/menu/model/ProgramMngSearchVO.java index fce12a16..28a07489 100644 --- a/src/main/java/kr/xit/framework/biz/mng/model/ProgramMngSearchVO.java +++ b/src/main/java/kr/xit/framework/biz/mng/menu/model/ProgramMngSearchVO.java @@ -1,4 +1,4 @@ -package kr.xit.framework.biz.mng.model; +package kr.xit.framework.biz.mng.menu.model; import kr.xit.framework.core.model.XitBaseSearchVO; diff --git a/src/main/java/kr/xit/framework/biz/mng/model/ProgramMngVO.java b/src/main/java/kr/xit/framework/biz/mng/menu/model/ProgramMngVO.java similarity index 95% rename from src/main/java/kr/xit/framework/biz/mng/model/ProgramMngVO.java rename to src/main/java/kr/xit/framework/biz/mng/menu/model/ProgramMngVO.java index 81e69b24..3ee95b3f 100644 --- a/src/main/java/kr/xit/framework/biz/mng/model/ProgramMngVO.java +++ b/src/main/java/kr/xit/framework/biz/mng/menu/model/ProgramMngVO.java @@ -1,4 +1,4 @@ -package kr.xit.framework.biz.mng.model; +package kr.xit.framework.biz.mng.menu.model; import kr.xit.framework.core.model.BaseVO; import lombok.AllArgsConstructor; diff --git a/src/main/java/kr/xit/framework/biz/mng/menu/create/service/XitMenuCreateMngService.java b/src/main/java/kr/xit/framework/biz/mng/menu/service/MenuCreateMngService.java similarity index 72% rename from src/main/java/kr/xit/framework/biz/mng/menu/create/service/XitMenuCreateMngService.java rename to src/main/java/kr/xit/framework/biz/mng/menu/service/MenuCreateMngService.java index 46436384..d4f2da36 100644 --- a/src/main/java/kr/xit/framework/biz/mng/menu/create/service/XitMenuCreateMngService.java +++ b/src/main/java/kr/xit/framework/biz/mng/menu/service/MenuCreateMngService.java @@ -1,10 +1,10 @@ -package kr.xit.framework.biz.mng.menu.create.service; +package kr.xit.framework.biz.mng.menu.service; import java.util.List; import java.util.Map; -import kr.xit.framework.biz.mng.menu.create.model.XitMenuCreateMngSearchVO; -import kr.xit.framework.biz.mng.menu.create.model.XitMenuCreateMngVO; +import kr.xit.framework.biz.mng.menu.model.MenuCreateMngSearchVO; +import kr.xit.framework.biz.mng.menu.model.MenuCreateMngVO; import org.apache.ibatis.session.RowBounds; /** @@ -17,7 +17,7 @@ import org.apache.ibatis.session.RowBounds; * @since 2002. 2. 2. * @version 1.0 Copyright(c) XIT All rights reserved. */ -public interface XitMenuCreateMngService { +public interface MenuCreateMngService { /** *
메소드 설명: 메뉴생성관리 목록 조회
@@ -26,7 +26,7 @@ public interface XitMenuCreateMngService { * @author: 박민규 * @date: 2020. 3. 26. */ - public List findList(Map paramMap, RowBounds rowBounds); + public List findList(Map paramMap, RowBounds rowBounds); /** *
메소드 설명: 메뉴생성관리 목록 총건수 조회
@@ -35,7 +35,7 @@ public interface XitMenuCreateMngService { * @author: 박민규 * @date: 2020. 3. 26. */ - public int findListTotCnt(XitMenuCreateMngSearchVO searchVO); + public int findListTotCnt(MenuCreateMngSearchVO searchVO); /** *
메소드 설명: 메뉴생성관리 상세정보 조회
@@ -44,7 +44,7 @@ public interface XitMenuCreateMngService { * @author: 박민규 * @date: 2020. 3. 26. */ - public XitMenuCreateMngVO findView(XitMenuCreateMngVO vo); + public MenuCreateMngVO findView(MenuCreateMngVO vo); /** *
메소드 설명: 메뉴생성관리 다건 등록
@@ -64,7 +64,7 @@ public interface XitMenuCreateMngService { * @author: 박민규 * @date: 2020. 3. 31. */ - public List findListOfMenuInfo(XitMenuCreateMngVO vo); + public List findListOfMenuInfo(MenuCreateMngVO vo); /** @@ -74,6 +74,6 @@ public interface XitMenuCreateMngService { * @author: 박민규 * @date: 2020. 3. 31. */ - public XitMenuCreateMngVO findUserScrtySetupByUsr(XitMenuCreateMngSearchVO searchVO); + public MenuCreateMngVO findUserScrtySetupByUsr(MenuCreateMngSearchVO searchVO); } diff --git a/src/main/java/kr/xit/framework/biz/mng/menu/list/service/XitMenuListMngService.java b/src/main/java/kr/xit/framework/biz/mng/menu/service/MenuListMngService.java similarity index 70% rename from src/main/java/kr/xit/framework/biz/mng/menu/list/service/XitMenuListMngService.java rename to src/main/java/kr/xit/framework/biz/mng/menu/service/MenuListMngService.java index a667d80e..debbb5ee 100644 --- a/src/main/java/kr/xit/framework/biz/mng/menu/list/service/XitMenuListMngService.java +++ b/src/main/java/kr/xit/framework/biz/mng/menu/service/MenuListMngService.java @@ -1,11 +1,11 @@ -package kr.xit.framework.biz.mng.menu.list.service; +package kr.xit.framework.biz.mng.menu.service; import java.io.FileInputStream; import java.util.List; import java.util.Map; -import kr.xit.framework.biz.mng.menu.list.model.XitMenuListMngVO; -import kr.xit.framework.biz.mng.menu.list.model.XitMenuListMngSearchVO; +import kr.xit.framework.biz.mng.menu.model.MenuListMngVO; +import kr.xit.framework.biz.mng.menu.model.MenuListMngSearchVO; import org.apache.ibatis.session.RowBounds; /** @@ -18,16 +18,16 @@ import org.apache.ibatis.session.RowBounds; * @since 2002. 2. 2. * @version 1.0 Copyright(c) XIT All rights reserved. */ -public interface XitMenuListMngService { +public interface MenuListMngService { /** *
메소드 설명: 메뉴목록관리 목록 조회
- * @param map - * @return List 요청처리 후 응답객체 - * @author: 박민규 - * @date: 2020. 3. 26. + * @param paramMap + * @return List 요청처리 후 응답객체 + * @author: 최정민 + * @date: 2022. 10. 18. */ - public List findList(Map paramMap, RowBounds rowBounds); + public List findList(Map paramMap, RowBounds rowBounds); /** *
메소드 설명: 메뉴목록관리 목록 총건수 조회
@@ -36,16 +36,16 @@ public interface XitMenuListMngService { * @author: 박민규 * @date: 2020. 3. 26. */ - public int findListTotCnt(XitMenuListMngSearchVO searchVO); + public int findListTotCnt(MenuListMngSearchVO searchVO); /** *
메소드 설명: 메뉴목록관리 상세정보 조회
* @param vo - * @return XitMenuListMngVO 요청처리 후 응답객체 + * @return MenuListMngVO 요청처리 후 응답객체 * @author: 박민규 * @date: 2020. 3. 26. */ - public XitMenuListMngVO findView(XitMenuListMngVO vo); + public MenuListMngVO findView(MenuListMngVO vo); /** *
메소드 설명: 메뉴목록관리 등록
@@ -53,7 +53,7 @@ public interface XitMenuListMngService { * @author: 박민규 * @date: 2020. 3. 26. */ - public void addProc(XitMenuListMngVO vo); + public void addProc(MenuListMngVO vo); /** *
메소드 설명: 메뉴목록관리 수정
@@ -61,7 +61,7 @@ public interface XitMenuListMngService { * @author: 박민규 * @date: 2020. 3. 26. */ - public void modifyProc(XitMenuListMngVO vo); + public void modifyProc(MenuListMngVO vo); /** *
메소드 설명: 메뉴목록관리 삭제
@@ -69,7 +69,7 @@ public interface XitMenuListMngService { * @author: 박민규 * @date: 2020. 3. 26. */ - public void removeProc(XitMenuListMngVO vo); + public void removeProc(MenuListMngVO vo); /** *
메소드 설명: 메뉴목록관리 다건 삭제
@@ -98,7 +98,7 @@ public interface XitMenuListMngService { * @author: 박민규 * @date: 2020. 3. 27. */ - public String addsProc(XitMenuListMngVO vo, FileInputStream inputStream) throws Exception; + public String addsProc(MenuListMngVO vo, FileInputStream inputStream) throws Exception; diff --git a/src/main/java/kr/xit/framework/biz/mng/service/ProgramMngService.java b/src/main/java/kr/xit/framework/biz/mng/menu/service/ProgramMngService.java similarity index 92% rename from src/main/java/kr/xit/framework/biz/mng/service/ProgramMngService.java rename to src/main/java/kr/xit/framework/biz/mng/menu/service/ProgramMngService.java index 6ae6ad35..5147afad 100644 --- a/src/main/java/kr/xit/framework/biz/mng/service/ProgramMngService.java +++ b/src/main/java/kr/xit/framework/biz/mng/menu/service/ProgramMngService.java @@ -1,12 +1,11 @@ -package kr.xit.framework.biz.mng.service; +package kr.xit.framework.biz.mng.menu.service; import java.util.List; import java.util.Map; import org.apache.ibatis.session.RowBounds; -import kr.xit.framework.biz.mng.model.ProgramMngSearchVO; -import kr.xit.framework.biz.mng.model.ProgramMngVO; +import kr.xit.framework.biz.mng.menu.model.ProgramMngVO; /** * diff --git a/src/main/java/kr/xit/framework/biz/mng/service/impl/ProgramMngServiceImpl.java b/src/main/java/kr/xit/framework/biz/mng/menu/service/impl/ProgramMngServiceImpl.java similarity index 90% rename from src/main/java/kr/xit/framework/biz/mng/service/impl/ProgramMngServiceImpl.java rename to src/main/java/kr/xit/framework/biz/mng/menu/service/impl/ProgramMngServiceImpl.java index 551cfc52..313e2301 100644 --- a/src/main/java/kr/xit/framework/biz/mng/service/impl/ProgramMngServiceImpl.java +++ b/src/main/java/kr/xit/framework/biz/mng/menu/service/impl/ProgramMngServiceImpl.java @@ -1,16 +1,16 @@ -package kr.xit.framework.biz.mng.service.impl; +package kr.xit.framework.biz.mng.menu.service.impl; import java.util.List; import java.util.Map; import javax.annotation.Resource; +import kr.xit.framework.biz.mng.menu.service.ProgramMngService; import org.apache.ibatis.session.RowBounds; import org.springframework.stereotype.Service; -import kr.xit.framework.biz.mng.mapper.ProgramMngMapper; -import kr.xit.framework.biz.mng.model.ProgramMngVO; -import kr.xit.framework.biz.mng.service.ProgramMngService; +import kr.xit.framework.biz.mng.menu.mapper.ProgramMngMapper; +import kr.xit.framework.biz.mng.menu.model.ProgramMngVO; import kr.xit.framework.core.constants.FrameworkConstants; import kr.xit.framework.core.utils.XitCmmnUtil; import kr.xit.framework.support.exception.BizRuntimeException; diff --git a/src/main/java/kr/xit/framework/biz/mng/menu/create/service/impl/XitMenuCreateMngServiceImpl.java b/src/main/java/kr/xit/framework/biz/mng/menu/service/impl/XitMenuCreateMngServiceImpl.java similarity index 70% rename from src/main/java/kr/xit/framework/biz/mng/menu/create/service/impl/XitMenuCreateMngServiceImpl.java rename to src/main/java/kr/xit/framework/biz/mng/menu/service/impl/XitMenuCreateMngServiceImpl.java index 23fb96c8..a9f89313 100644 --- a/src/main/java/kr/xit/framework/biz/mng/menu/create/service/impl/XitMenuCreateMngServiceImpl.java +++ b/src/main/java/kr/xit/framework/biz/mng/menu/service/impl/XitMenuCreateMngServiceImpl.java @@ -1,4 +1,4 @@ -package kr.xit.framework.biz.mng.menu.create.service.impl; +package kr.xit.framework.biz.mng.menu.service.impl; import java.sql.SQLException; import java.util.ArrayList; @@ -7,37 +7,37 @@ import java.util.Map; import javax.annotation.Resource; +import kr.xit.framework.biz.mng.menu.mapper.MenuListMngMapper; +import kr.xit.framework.biz.mng.menu.service.MenuCreateMngService; import org.apache.ibatis.session.RowBounds; import org.springframework.stereotype.Service; import kr.xit.framework.biz.cmm.model.XitMenuCreatDtlsVO; import kr.xit.framework.biz.cmm.service.XitFrameCrudService; -import kr.xit.framework.biz.mng.menu.create.dao.XitMenuCreateMngMapper; -import kr.xit.framework.biz.mng.menu.create.model.XitMenuCreateMngSearchVO; -import kr.xit.framework.biz.mng.menu.create.model.XitMenuCreateMngVO; -import kr.xit.framework.biz.mng.menu.create.service.XitMenuCreateMngService; +import kr.xit.framework.biz.mng.menu.model.MenuCreateMngSearchVO; +import kr.xit.framework.biz.mng.menu.model.MenuCreateMngVO; import kr.xit.framework.core.message.XitMessageSource; @Service -public class XitMenuCreateMngServiceImpl implements XitMenuCreateMngService { +public class XitMenuCreateMngServiceImpl implements MenuCreateMngService { @Resource - private XitMenuCreateMngMapper xitMenuCreateMngMapper; + private MenuListMngMapper menuListMngMapper; @Resource private XitFrameCrudService xitFrameCrudService; @Resource(name = "xitMessageSource") XitMessageSource xitMessageSource; @Override - public List findList(Map paramMap, RowBounds rowBounds) { - return xitMenuCreateMngMapper.findList(paramMap, rowBounds); + public List findList(Map paramMap, RowBounds rowBounds) { + return menuListMngMapper.findList(paramMap, rowBounds); } @Override - public int findListTotCnt(XitMenuCreateMngSearchVO searchVO) { + public int findListTotCnt(MenuCreateMngSearchVO searchVO) { int result = 0; try { - result = xitMenuCreateMngMapper.findListTotCnt(searchVO); + result = menuListMngMapper.findListTotCnt(searchVO); } catch (SQLException e) { throw new RuntimeException("메뉴생성관리 목록 총건수 조회 FAIL::", e); } @@ -45,10 +45,10 @@ public class XitMenuCreateMngServiceImpl implements XitMenuCreateMngService { } @Override - public XitMenuCreateMngVO findView(XitMenuCreateMngVO vo) { - XitMenuCreateMngVO result = null; + public MenuCreateMngVO findView(MenuCreateMngVO vo) { + MenuCreateMngVO result = null; try { - result = xitMenuCreateMngMapper.findView(vo); + result = menuListMngMapper.findView(vo); } catch (SQLException e) { throw new RuntimeException("메뉴생성관리 상세정보 조회 FAIL::", e); } @@ -95,10 +95,10 @@ public class XitMenuCreateMngServiceImpl implements XitMenuCreateMngService { } @Override - public List findListOfMenuInfo(XitMenuCreateMngVO vo) { - List result = null; + public List findListOfMenuInfo(MenuCreateMngVO vo) { + List result = null; try { - result = xitMenuCreateMngMapper.findListOfMenuInfo(vo); + result = menuListMngMapper.findListOfMenuInfo(vo); } catch (SQLException e) { throw new RuntimeException("메뉴 목록 조회 FAIL::", e); } @@ -106,10 +106,10 @@ public class XitMenuCreateMngServiceImpl implements XitMenuCreateMngService { } @Override - public XitMenuCreateMngVO findUserScrtySetupByUsr(XitMenuCreateMngSearchVO searchVO) { - XitMenuCreateMngVO result = null; + public MenuCreateMngVO findUserScrtySetupByUsr(MenuCreateMngSearchVO searchVO) { + MenuCreateMngVO result = null; try { - result = xitMenuCreateMngMapper.findUserScrtySetupByUsr(searchVO); + result = menuListMngMapper.findUserScrtySetupByUsr(searchVO); } catch (SQLException e) { throw new RuntimeException("사용자별 사용자보안설정 데이터 조회 FAIL::", e); } diff --git a/src/main/java/kr/xit/framework/biz/mng/menu/list/service/impl/XitMenuListMngServiceImpl.java b/src/main/java/kr/xit/framework/biz/mng/menu/service/impl/XitMenuListMngServiceImpl.java similarity index 90% rename from src/main/java/kr/xit/framework/biz/mng/menu/list/service/impl/XitMenuListMngServiceImpl.java rename to src/main/java/kr/xit/framework/biz/mng/menu/service/impl/XitMenuListMngServiceImpl.java index 22538c10..f34fecb5 100644 --- a/src/main/java/kr/xit/framework/biz/mng/menu/list/service/impl/XitMenuListMngServiceImpl.java +++ b/src/main/java/kr/xit/framework/biz/mng/menu/service/impl/XitMenuListMngServiceImpl.java @@ -1,4 +1,4 @@ -package kr.xit.framework.biz.mng.menu.list.service.impl; +package kr.xit.framework.biz.mng.menu.service.impl; import java.io.FileInputStream; import java.sql.SQLException; @@ -20,31 +20,28 @@ import egovframework.rte.fdl.excel.EgovExcelService; import kr.xit.framework.biz.cmm.model.XitMenuInfoVO; import kr.xit.framework.biz.cmm.model.ProgrmListVO; import kr.xit.framework.biz.cmm.service.XitFrameCrudService; -import kr.xit.framework.biz.mng.mapper.ProgramMngMapper; -import kr.xit.framework.biz.mng.menu.create.dao.XitMenuCreateMngMapper; -import kr.xit.framework.biz.mng.menu.list.model.XitMenuListMngVO; -import kr.xit.framework.biz.mng.menu.list.service.XitMenuListMngService; -import kr.xit.framework.biz.mng.menu.list.dao.XitMenuListMngMapper; -import kr.xit.framework.biz.mng.menu.list.model.XitMenuListMngSearchVO; -import kr.xit.framework.biz.mng.model.ProgramMngVO; -import kr.xit.framework.biz.mng.service.ProgramMngService; +import kr.xit.framework.biz.mng.menu.mapper.ProgramMngMapper; +import kr.xit.framework.biz.mng.menu.model.MenuListMngVO; +import kr.xit.framework.biz.mng.menu.service.MenuListMngService; +import kr.xit.framework.biz.mng.menu.mapper.MenuListMngMapper; +import kr.xit.framework.biz.mng.menu.model.MenuListMngSearchVO; +import kr.xit.framework.biz.mng.menu.model.ProgramMngVO; +import kr.xit.framework.biz.mng.menu.service.ProgramMngService; import kr.xit.framework.core.message.XitMessageSource; import kr.xit.framework.core.utils.XitCmmnUtil; @Service -public class XitMenuListMngServiceImpl implements XitMenuListMngService { +public class XitMenuListMngServiceImpl implements MenuListMngService { private static final Logger logger = LoggerFactory.getLogger(XitMenuListMngServiceImpl.class); @Resource - private XitMenuListMngMapper xitMenuListMngMapper; + private MenuListMngMapper menuListMngMapper; @Resource private ProgramMngMapper programMngMapper; @Resource private ProgramMngService programMngService; @Resource - private XitMenuCreateMngMapper xitMenuCreateMngMapper; - @Resource private XitFrameCrudService xitFrameCrudService; @Resource private XitMessageSource xitMessageSource; @@ -52,16 +49,16 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService { private EgovExcelService excelZipService; @Override - public List findList(Map paramMap, RowBounds rowBounds) { + public List findList(Map paramMap, RowBounds rowBounds) { - return xitMenuListMngMapper.findList(paramMap, rowBounds); + return menuListMngMapper.findMenuList(paramMap, rowBounds); } @Override - public int findListTotCnt(XitMenuListMngSearchVO searchVO) { + public int findListTotCnt(MenuListMngSearchVO searchVO) { int result = 0; try { - result = xitMenuListMngMapper.findListTotCnt(searchVO); + result = menuListMngMapper.findMenuListTotCnt(searchVO); } catch (SQLException e) { throw new RuntimeException("메뉴목록관리 목록 총건수 조회 FAIL::", e); } @@ -69,10 +66,10 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService { } @Override - public XitMenuListMngVO findView(XitMenuListMngVO vo) { - XitMenuListMngVO result = null; + public MenuListMngVO findView(MenuListMngVO vo) { + MenuListMngVO result = null; try { - result = xitMenuListMngMapper.findView(vo); + result = menuListMngMapper.findMenuView(vo); } catch (SQLException e) { throw new RuntimeException("메뉴목록관리 상세정보 조회 FAIL::", e); } @@ -80,7 +77,7 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService { } @Override - public void addProc(XitMenuListMngVO vo) { + public void addProc(MenuListMngVO vo) { /** * 유효성 확인 @@ -113,7 +110,7 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService { } @Override - public void modifyProc(XitMenuListMngVO vo) { + public void modifyProc(MenuListMngVO vo) { /** * 유효성 확인 @@ -140,7 +137,7 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService { } @Override - public void removeProc(XitMenuListMngVO vo) { + public void removeProc(MenuListMngVO vo) { /** * 유효성 확인 */ @@ -179,7 +176,7 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService { */ String[] arrMenuNo = menuNos.split(","); for (int i = 0; i < arrMenuNo.length; i++) { - XitMenuListMngVO vo = new XitMenuListMngVO(); + MenuListMngVO vo = new MenuListMngVO(); vo.setMenuNo(Integer.parseInt(arrMenuNo[i])); this.removeProc(vo); @@ -195,7 +192,7 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService { * @author: 박민규 * @date: 2020. 3. 27. */ - private XitMenuInfoVO convertToCrudVO(XitMenuListMngVO vo) { + private XitMenuInfoVO convertToCrudVO(MenuListMngVO vo) { XitMenuInfoVO xitMenuInfoVO = new XitMenuInfoVO(); xitMenuInfoVO.setMenu_no(String.valueOf(vo.getMenuNo())); xitMenuInfoVO.setMenu_nm(vo.getMenuNm()); @@ -231,7 +228,7 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService { * @exception Exception */ private boolean deleteAllMenuList() throws Exception { - xitMenuListMngMapper.deleteAllMenuList(); + menuListMngMapper.deleteAllMenuList(); return true; } @@ -241,7 +238,7 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService { * @exception Exception */ private boolean deleteAllMenuCreatDtlsList() throws Exception { - xitMenuCreateMngMapper.deleteAllMenuCreatDtlsList(); + menuListMngMapper.deleteAllMenuCreatDtlsList(); return true; } @@ -266,7 +263,7 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService { } @Override - public String addsProc(XitMenuListMngVO vo, FileInputStream inputStream) throws Exception { + public String addsProc(MenuListMngVO vo, FileInputStream inputStream) throws Exception { String message = addsProc(inputStream); String sMessage = null; @@ -462,7 +459,7 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService { try { int rows = menuSheet.getPhysicalNumberOfRows(); //행 갯수 가져오기 for (int j = 1; j < rows; j++) { //row 루프 - XitMenuListMngVO vo = new XitMenuListMngVO(); + MenuListMngVO vo = new MenuListMngVO(); Row row = menuSheet.getRow(j); //row 가져오기 if (row != null) { //int cells=row.getPhysicalNumberOfCells(); //cell 갯수 가져오기 diff --git a/src/main/java/kr/xit/framework/biz/mng/menu/create/web/XitMenuCreateMngController.java b/src/main/java/kr/xit/framework/biz/mng/menu/web/MenuCreateMngController.java similarity index 77% rename from src/main/java/kr/xit/framework/biz/mng/menu/create/web/XitMenuCreateMngController.java rename to src/main/java/kr/xit/framework/biz/mng/menu/web/MenuCreateMngController.java index 41f551b0..1948a801 100644 --- a/src/main/java/kr/xit/framework/biz/mng/menu/create/web/XitMenuCreateMngController.java +++ b/src/main/java/kr/xit/framework/biz/mng/menu/web/MenuCreateMngController.java @@ -1,4 +1,4 @@ -package kr.xit.framework.biz.mng.menu.create.web; +package kr.xit.framework.biz.mng.menu.web; import java.io.IOException; import java.util.HashMap; @@ -19,9 +19,9 @@ import org.springframework.ui.ModelMap; import org.springframework.validation.BindingResult; import org.springframework.web.bind.annotation.*; -import kr.xit.framework.biz.mng.menu.create.model.XitMenuCreateMngSearchVO; -import kr.xit.framework.biz.mng.menu.create.model.XitMenuCreateMngVO; -import kr.xit.framework.biz.mng.menu.create.service.XitMenuCreateMngService; +import kr.xit.framework.biz.mng.menu.model.MenuCreateMngSearchVO; +import kr.xit.framework.biz.mng.menu.model.MenuCreateMngVO; +import kr.xit.framework.biz.mng.menu.service.MenuCreateMngService; import kr.xit.framework.core.constants.FrameworkConstants; import kr.xit.framework.core.message.XitMessageSource; import kr.xit.framework.core.utils.XitCmmnUtil; @@ -41,11 +41,12 @@ import org.springframework.web.servlet.ModelAndView; * @version 1.0 Copyright(c) XIT All rights reserved. */ @Controller -@RequestMapping(value = "/_mng_/menu/create/") -public class XitMenuCreateMngController { +//@RequestMapping(value = "/_mng_/menu/create/") +@RequestMapping(value = "/framework/biz/mng/menu") +public class MenuCreateMngController { @Resource - private XitMenuCreateMngService xitMenuCreateMngService; + private MenuCreateMngService xitMenuCreateMngService; @Autowired private XitBeanValidator beanValidator; @Resource(name = "xitMessageSource") @@ -54,14 +55,20 @@ public class XitMenuCreateMngController { /** *
메소드 설명: 메뉴생성관리 목록 페이지
- * @return String 요청처리 후 응답객체 - * @author: 박민규 - * @date: 2020. 3. 25. + * @author: 최정민 + * @date: 2022. 10. 18. */ - @RequestMapping(value = "MenuCreateMng_list.do", method={RequestMethod.GET, RequestMethod.POST}) - public String MenuCreateMng_list(@ModelAttribute("searchVO") XitMenuCreateMngSearchVO searchVO, ModelMap model) { + @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"); + - return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/menu/create/XitMenuCreateMng_list"; } /** @@ -73,8 +80,8 @@ public class XitMenuCreateMngController { * @author: 최정민 * @date: 2022. 10. 13. */ - @GetMapping(value = "MenuCreateMng_list.ajax") - public ModelAndView finds(@RequestParam Map paramMap) { + @GetMapping(value = "/MenuCreateMng_list.ajax") + public ModelAndView findsMenuCreate(@RequestParam Map paramMap) { return ResultResponse.of(xitMenuCreateMngService.findList(paramMap, MybatisUtils.getPagingInfo(paramMap))); } @@ -90,13 +97,13 @@ public class XitMenuCreateMngController { * @author: 박민규 * @date: 2020. 3. 26. */ - @RequestMapping(value = "MenuCreateMng_{cmd}.do", method={RequestMethod.GET, RequestMethod.POST}) + @RequestMapping(value = "/MenuCreateMng_{cmd}", method={RequestMethod.GET, RequestMethod.POST}) public String MenuCreateMng_page(@PathVariable String cmd , @RequestParam(value="tilesDef", required=false, defaultValue="") String tilesDef - , @ModelAttribute("menuCreatVO") XitMenuCreateMngVO vo, ModelMap model) { + , @ModelAttribute("menuCreatVO") MenuCreateMngVO vo, ModelMap model) { switch (cmd) { case "input": //등록 페이지 - List list_menulist = xitMenuCreateMngService.findListOfMenuInfo(vo); + List list_menulist = xitMenuCreateMngService.findListOfMenuInfo(vo); model.addAttribute("list_menulist", list_menulist); model.addAttribute("resultVO", vo); break; @@ -124,10 +131,10 @@ public class XitMenuCreateMngController { * @throws ServletException * @date: 2020. 3. 25. */ - @RequestMapping(value = "MenuCreateMng_{cmd}_proc.do", method=RequestMethod.POST) + @RequestMapping(value = "/MenuCreateMng_{cmd}_proc.do", method=RequestMethod.POST) public void MenuCreateMng_cmd_proc(HttpServletRequest req ,@PathVariable String cmd - ,@ModelAttribute("menuCreatVO") XitMenuCreateMngVO vo + ,@ModelAttribute("menuCreatVO") MenuCreateMngVO vo ,@RequestParam(value="checkedAuthorForInsert", required=false, defaultValue="")String checkedAuthorForInsert ,@RequestParam(value="checkedMenuNoForInsert", required=false, defaultValue="")String checkedMenuNoForInsert ,BindingResult bindingResult @@ -139,7 +146,7 @@ public class XitMenuCreateMngController { /** * 처리 분기 */ - String sLocationUrl = "forward:/_mng_/menu/create/MenuCreateMng_list.do"; + String sLocationUrl = "forward:/framework/biz/mng/menu/MenuCreateMng_list.do"; String message = null; switch (cmd) { // case "insert": //등록 @@ -155,7 +162,7 @@ public class XitMenuCreateMngController { } catch (Exception e) { message = xitMessageSource.getMessage("fail.common.insert"); } - sLocationUrl = "forward:/_mng_/menu/create/MenuCreateMng_input.do?tilesDef=popup"; + sLocationUrl = "forward:/framework/biz/mng/menu/MenuCreateMng_input.do?tilesDef=popup"; break; // case "update": //수정 diff --git a/src/main/java/kr/xit/framework/biz/mng/menu/list/web/XitMenuListMngController.java b/src/main/java/kr/xit/framework/biz/mng/menu/web/MenuListMngController.java similarity index 73% rename from src/main/java/kr/xit/framework/biz/mng/menu/list/web/XitMenuListMngController.java rename to src/main/java/kr/xit/framework/biz/mng/menu/web/MenuListMngController.java index d99713db..842f7c06 100644 --- a/src/main/java/kr/xit/framework/biz/mng/menu/list/web/XitMenuListMngController.java +++ b/src/main/java/kr/xit/framework/biz/mng/menu/web/MenuListMngController.java @@ -1,4 +1,4 @@ -package kr.xit.framework.biz.mng.menu.list.web; +package kr.xit.framework.biz.mng.menu.web; import java.io.File; import java.io.FileInputStream; @@ -23,9 +23,8 @@ import org.springframework.ui.ModelMap; import org.springframework.validation.BindingResult; import org.springframework.web.bind.annotation.*; -import kr.xit.framework.biz.mng.menu.list.model.XitMenuListMngVO; -import kr.xit.framework.biz.mng.menu.list.model.XitMenuListMngSearchVO; -import kr.xit.framework.biz.mng.menu.list.service.XitMenuListMngService; +import kr.xit.framework.biz.mng.menu.model.MenuListMngVO; +import kr.xit.framework.biz.mng.menu.service.MenuListMngService; import kr.xit.framework.core.constants.FrameworkConstants; import kr.xit.framework.core.constants.FrameworkConstants.TILES_TYPE; import kr.xit.framework.core.message.XitMessageSource; @@ -48,13 +47,14 @@ import org.springframework.web.servlet.ModelAndView; * @version 1.0 Copyright(c) XIT All rights reserved. */ @Controller -@RequestMapping(value = "/_mng_/menu/list/") -public class XitMenuListMngController { +//@RequestMapping(value = "/_mng_/menu/list/") +@RequestMapping(value = "/framework/biz/mng/menu/") +public class MenuListMngController { - private static final Logger logger = LoggerFactory.getLogger(XitMenuListMngController.class); + private static final Logger logger = LoggerFactory.getLogger(MenuListMngController.class); @Resource - private XitMenuListMngService xitMenuListMngService; + private MenuListMngService menuListMngService; @Autowired private XitBeanValidator beanValidator; @Resource(name = "xitMessageSource") @@ -63,36 +63,11 @@ public class XitMenuListMngController { /** *
메소드 설명: 메뉴목록관리 목록 페이지
- * @return String 요청처리 후 응답객체 - * @author: 박민규 - * @date: 2020. 3. 25. + * @author: 최정민 + * @date: 2022. 10. 18. */ - @RequestMapping(value = "MenuListMng_list.do", method={RequestMethod.GET, RequestMethod.POST}) - public String MenuListMng_list(@ModelAttribute("searchVO") XitMenuListMngSearchVO searchVO, ModelMap model) { - - // 내역 조회 - - //searchVO.setPageUnit(Integer.parseInt(XitProperties.getProperty("Globals.Xit.Pagination.PageUnit"))); - //searchVO.setPageSize(Integer.parseInt(XitProperties.getProperty("Globals.Xit.Pagination.PageSize"))); - - /** pageing */ - //PaginationInfo paginationInfo = new PaginationInfo(); - //paginationInfo.setCurrentPageNo(searchVO.getPageIndex()); - //paginationInfo.setRecordCountPerPage(searchVO.getPageUnit()); - //paginationInfo.setPageSize(searchVO.getPageSize()); - - //searchVO.setFirstIndex(paginationInfo.getFirstRecordIndex()); - //searchVO.setLastIndex(paginationInfo.getLastRecordIndex()); - //searchVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); - - //model.addAttribute("list_menumanage", xitMenuListMngService.findList(searchVO)); - //model.addAttribute("searchVO", searchVO); - - //int totCnt = xitMenuListMngService.findListTotCnt(searchVO); - //paginationInfo.setTotalRecordCount(totCnt); - //model.addAttribute("paginationInfo", paginationInfo); - - return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/menu/list/XitMenuListMng_list"; + @GetMapping(value = "/mngMenuMgtForm") + public void mngMenuMgtForm() { } /** @@ -104,10 +79,10 @@ public class XitMenuListMngController { * @author: 최정민 * @date: 2022. 10. 13. */ - @RequestMapping(value = "MenuCreateMng_list.ajax", method={RequestMethod.GET, RequestMethod.POST}) - public ModelAndView finds(@RequestParam Map paramMap) { + @RequestMapping(value = "findsMenu_list.ajax", method={RequestMethod.GET, RequestMethod.POST}) + public ModelAndView findsMenu(@RequestParam Map paramMap) { - return ResultResponse.of(xitMenuListMngService.findList(paramMap, MybatisUtils.getPagingInfo(paramMap))); + return ResultResponse.of(menuListMngService.findList(paramMap, MybatisUtils.getPagingInfo(paramMap))); } @@ -115,7 +90,7 @@ public class XitMenuListMngController { /** *
메소드 설명: 요청 페이지로 이동 한다.
- * @param page + * @param cmd * @param tilesDef 타일즈 적용 Type(none: tiles 미적용) * @param model * @return String 요청처리 후 응답객체 @@ -125,7 +100,7 @@ public class XitMenuListMngController { @RequestMapping(value = "MenuListMng_{cmd}.do", method={RequestMethod.GET, RequestMethod.POST}) public String MenuListMng_page(@PathVariable String cmd , @RequestParam(value="tilesDef", required=false, defaultValue="") String tilesDef - , @ModelAttribute("menuManageVO") XitMenuListMngVO vo + , @ModelAttribute("menuManageVO") MenuListMngVO vo , ModelMap model) { switch (cmd) { case "input": //등록 페이지 @@ -133,8 +108,8 @@ public class XitMenuListMngController { break; case "edit": //수정 페이지 case "view": //상세 페이지 - XitMenuListMngVO xitMenuListMngVO = xitMenuListMngService.findView(vo); - model.addAttribute("menuManageVO", xitMenuListMngVO); + MenuListMngVO menuListMngVO = menuListMngService.findView(vo); + model.addAttribute("menuManageVO", menuListMngVO); break; default: throw new RuntimeException("유효하지 않은 요청 입니다."); @@ -149,7 +124,7 @@ public class XitMenuListMngController { /** *
메소드 설명: 요청 팝업 페이지 이동 한다.
- * @param page + * @param cmd * @param model * @return String 요청처리 후 응답객체 * @author: 박민규 @@ -158,7 +133,7 @@ public class XitMenuListMngController { @RequestMapping(value = "MenuListMng_{cmd}_popup.do", method={RequestMethod.GET, RequestMethod.POST}) public String ProgramMng_page_popup(@PathVariable String cmd , @RequestParam(value="tilesDef", required=false, defaultValue="") String tilesDef - , @ModelAttribute("menuManageVO") XitMenuListMngVO vo + , @ModelAttribute("menuManageVO") MenuListMngVO vo , ModelMap model) { switch (cmd) { case "": // @@ -179,7 +154,7 @@ public class XitMenuListMngController { */ @RequestMapping(value = "MenuListMng_{cmd}_proc.do", method=RequestMethod.POST) public void MenuListMng_cmd_proc(@PathVariable String cmd - ,@ModelAttribute("menuManageVO") XitMenuListMngVO vo + ,@ModelAttribute("menuManageVO") MenuListMngVO vo ,@RequestParam(value="checkedMenuNoForDel", required=false, defaultValue="") String checkedMenuNoForDel ,BindingResult bindingResult ,Model model @@ -190,7 +165,7 @@ public class XitMenuListMngController { /** * 처리 분기 */ - String sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_list.do"; + String sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_list.do"; String message = null; switch (cmd) { case "insert": //등록 @@ -201,19 +176,19 @@ public class XitMenuListMngController { if (bindingResult.hasErrors()) { // throw new RuntimeException(xitMessageSource.getMessage("fail.common.insert")); message = xitMessageSource.getMessage("fail.common.insert"); - sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_input.do"; + sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_input.do"; break; } //처리 try { - xitMenuListMngService.addProc(vo); + menuListMngService.addProc(vo); message = xitMessageSource.getMessage("success.common.insert"); } catch (RuntimeException e) { message = e.getMessage(); - sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_input.do"; + sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_input.do"; } catch (Exception e) { message = xitMessageSource.getMessage("fail.common.insert"); - sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_input.do"; + sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_input.do"; } break; @@ -224,12 +199,12 @@ public class XitMenuListMngController { listAttchFile = XitAttachFileUtil.fileUpload(request, XitCmmnUtil.setOsPath("/home/tempUpload"), true, 5); } catch (RuntimeException | IOException e1) { message = xitMessageSource.getMessage("fail.common.msg"); - sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_inputs.do"; + sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_inputs.do"; } if(XitCmmnUtil.isEmpty(listAttchFile)) { message = xitMessageSource.getMessage("fail.common.msg"); - sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_inputs.do"; + sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_inputs.do"; }else { FileInputStream fis = null; try { @@ -239,8 +214,8 @@ public class XitMenuListMngController { if (!"".equals(fileVO.getFileName())) { // 2011.10.07 업로드 파일에 대한 확장자를 체크 if (fileVO.getFileName().toLowerCase().endsWith(".xls") || fileVO.getFileName().toLowerCase().endsWith(".xlsx")) { - if (xitMenuListMngService.menuBndeAllDelete()) { - message = xitMenuListMngService.addsProc(vo, fis); + if (menuListMngService.menuBndeAllDelete()) { + message = menuListMngService.addsProc(vo, fis); } else { message = xitMessageSource.getMessage("fail.common.msg"); vo.setTmp_Cmd("EgovMenuBndeRegist Error!!"); @@ -259,8 +234,8 @@ public class XitMenuListMngController { ============================ */ //2020.09.10 주석처리 // model.addAttribute("message", message); -// return "forward:/_mng_/menu/list/MenuListMng_inputs.do"; - sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_inputs.do"; +// return "forward:/framework/biz/mng/menu/MenuListMng_inputs.do"; + sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_inputs.do"; model.addAttribute("message", message); if(AjaxUtils.isAjaxRequest(request)){ //ajax 요청시 //반환 데이터 설정 @@ -286,7 +261,7 @@ public class XitMenuListMngController { } } } - sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_inputs.do"; + sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_inputs.do"; break; case "update": //수정 @@ -297,40 +272,40 @@ public class XitMenuListMngController { if (bindingResult.hasErrors()) { // throw new RuntimeException(xitMessageSource.getMessage("fail.common.update")); message = xitMessageSource.getMessage("fail.common.update"); - sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_edit.do"; + sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_edit.do"; break; } //처리 try { - xitMenuListMngService.modifyProc(vo); + menuListMngService.modifyProc(vo); message = xitMessageSource.getMessage("success.common.update"); } catch (RuntimeException e) { message = e.getMessage(); - sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_edit.do"; + sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_edit.do"; } catch (Exception e) { message = xitMessageSource.getMessage("fail.common.update"); - sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_edit.do"; + sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_edit.do"; } break; case "delete": //삭제 //처리 try { - xitMenuListMngService.removeProc(vo); + menuListMngService.removeProc(vo); message = xitMessageSource.getMessage("success.common.delete"); } catch (RuntimeException e) { message = e.getMessage(); - sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_edit.do"; + sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_edit.do"; } catch (Exception e) { message = xitMessageSource.getMessage("fail.common.delete"); - sLocationUrl = "forward:/_mng_/menu/list/MenuListMng_edit.do"; + sLocationUrl = "forward:/framework/biz/mng/menu/MenuListMng_edit.do"; } break; case "deletes": //다건 삭제 //처리 try { - xitMenuListMngService.removesProc(checkedMenuNoForDel); + menuListMngService.removesProc(checkedMenuNoForDel); message = xitMessageSource.getMessage("success.common.delete"); } catch (RuntimeException e) { message = e.getMessage(); diff --git a/src/main/java/kr/xit/framework/biz/mng/web/ProgramMngController.java b/src/main/java/kr/xit/framework/biz/mng/menu/web/ProgramMngController.java similarity index 98% rename from src/main/java/kr/xit/framework/biz/mng/web/ProgramMngController.java rename to src/main/java/kr/xit/framework/biz/mng/menu/web/ProgramMngController.java index 4d971c90..5bbec2c1 100644 --- a/src/main/java/kr/xit/framework/biz/mng/web/ProgramMngController.java +++ b/src/main/java/kr/xit/framework/biz/mng/menu/web/ProgramMngController.java @@ -1,4 +1,4 @@ -package kr.xit.framework.biz.mng.web; +package kr.xit.framework.biz.mng.menu.web; import java.io.IOException; import java.util.HashMap; @@ -24,9 +24,9 @@ import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.servlet.ModelAndView; import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo; -import kr.xit.framework.biz.mng.model.ProgramMngSearchVO; -import kr.xit.framework.biz.mng.model.ProgramMngVO; -import kr.xit.framework.biz.mng.service.ProgramMngService; +import kr.xit.framework.biz.mng.menu.model.ProgramMngSearchVO; +import kr.xit.framework.biz.mng.menu.model.ProgramMngVO; +import kr.xit.framework.biz.mng.menu.service.ProgramMngService; import kr.xit.framework.core.constants.FrameworkConstants; import kr.xit.framework.core.constants.FrameworkConstants.TILES_TYPE; import kr.xit.framework.core.message.XitMessageSource; diff --git a/src/main/resources/logback-dev.xml b/src/main/resources/logback-dev.xml index ab5a6a2e..b5da1d64 100644 --- a/src/main/resources/logback-dev.xml +++ b/src/main/resources/logback-dev.xml @@ -10,11 +10,24 @@ - - - ${LOG_PATTERN} - - + + + + + + + + + + + + + + + diff --git a/src/main/resources/sqlmapper/framework/mng/menu/list/XitMenuListMng-mysql-mapper.xml b/src/main/resources/sqlmapper/framework/mng/menu/list/XitMenuListMng-mysql-mapper.xml deleted file mode 100644 index 2169aa6b..00000000 --- a/src/main/resources/sqlmapper/framework/mng/menu/list/XitMenuListMng-mysql-mapper.xml +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - SELECT LIST.* FROM( - - - - ) LIST LIMIT #{firstIndex}, #{recordCountPerPage} - - - - - SELECT - A.MENU_NO AS "menuNo" - ,A.MENU_ORDR AS "menuOrdr" - ,A.MENU_NM AS "menuNm" - ,A.UPPER_MENU_NO AS "upperMenuId" - ,A.MENU_DC AS "menuDc" - ,A.RELATE_IMAGE_COURS AS "relateImagePath" - ,A.RELATE_IMAGE_NM AS "relateImageNm" - ,A.PROGRM_FILE_NM AS "progrmFileNm" - - - FROM XIT_MENU_INFO A - - - - AND A.MENU_NM LIKE CONCAT('%',#{searchKeyword},'%') - - - - - - - - - - - - - - - - - - /** XitMenuListMngMapper.deleteAllMenuList */ - /** 메뉴정보 전체데이터 삭제 */ - - - DELETE FROM XIT_MENU_INFO - - - - - diff --git a/src/main/resources/sqlmapper/framework/mng/menu/list/XitMenuListMng-oracle-mapper.xml b/src/main/resources/sqlmapper/framework/mng/menu/list/XitMenuListMng-oracle-mapper.xml deleted file mode 100644 index a49d0954..00000000 --- a/src/main/resources/sqlmapper/framework/mng/menu/list/XitMenuListMng-oracle-mapper.xml +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - SELECT * FROM - (SELECT LIST.*, ROWNUM AS "RN" FROM( - - - - ) LIST - ) WHERE RN BETWEEN #{firstIndex} + 1 AND #{firstIndex} + #{recordCountPerPage} - - - - - SELECT - A.MENU_NO AS "menuNo" - ,A.MENU_ORDR AS "menuOrdr" - ,A.MENU_NM AS "menuNm" - ,A.UPPER_MENU_NO AS "upperMenuId" - ,A.MENU_DC AS "menuDc" - ,A.RELATE_IMAGE_COURS AS "relateImagePath" - ,A.RELATE_IMAGE_NM AS "relateImageNm" - ,A.PROGRM_FILE_NM AS "progrmFileNm" - - - FROM XIT_MENU_INFO A - - - - AND A.MENU_NM LIKE '%' || #{searchKeyword} || '%' - - - - - - - - - - - - - - - - - - /** XitMenuListMngMapper.deleteAllMenuList */ - /** 메뉴정보 전체데이터 삭제 */ - - - DELETE FROM XIT_MENU_INFO - - - - - diff --git a/src/main/resources/sqlmapper/framework/mng/menu/create/XitMenuCreateMng-mysql-mapper.xml b/src/main/resources/sqlmapper/framework/mng/menu/menuCreateMng-mysql-mapper.xml similarity index 74% rename from src/main/resources/sqlmapper/framework/mng/menu/create/XitMenuCreateMng-mysql-mapper.xml rename to src/main/resources/sqlmapper/framework/mng/menu/menuCreateMng-mysql-mapper.xml index b4e02849..201285bc 100644 --- a/src/main/resources/sqlmapper/framework/mng/menu/create/XitMenuCreateMng-mysql-mapper.xml +++ b/src/main/resources/sqlmapper/framework/mng/menu/menuCreateMng-mysql-mapper.xml @@ -1,16 +1,8 @@ - - - - SELECT LIST.* FROM( - - - - ) LIST LIMIT #{firstIndex}, #{recordCountPerPage} - - - + + + SELECT A.AUTHOR_CODE AS "authorCode" ,A.AUTHOR_NM AS "authorNm" @@ -31,21 +23,23 @@ - /** XitMenuCreateMngMapper.findList */ /** 메뉴생성관리 목록 조회 */ - - - - - - + + + SELECT A.AUTHOR_CODE AS "authorCode" + ,A.AUTHOR_NM AS "authorNm" + ,A.AUTHOR_DC AS "authorDc" + ,A.AUTHOR_CREAT_DE AS "authorCreatDe" + ,(SELECT COUNT(B.AUTHOR_CODE) + FROM XIT_MENU_CREAT_DTLS B + WHERE B.AUTHOR_CODE = A.AUTHOR_CODE ) AS "chkYeoBu" + FROM XIT_AUTHOR_INFO A WHERE 1=1 - + AND A.AUTHOR_CODE LIKE CONCAT('%',#{searchKeyword},'%') - - - + @@ -54,24 +48,30 @@ /** XitMenuCreateMngMapper.findListTotCnt */ /** 메뉴생성관리 목록 총건수 조회 */ SELECT COUNT(1) AS "CNT" - + FROM XIT_AUTHOR_INFO A WHERE 1=1 - + AND A.AUTHOR_CODE LIKE CONCAT('%',#{searchKeyword},'%') - /** XitMenuCreateMngMapper.findView */ /** 메뉴생성관리 상세정보 조회 */ - - + SELECT A.AUTHOR_CODE AS "authorCode" + ,A.AUTHOR_NM AS "authorNm" + ,A.AUTHOR_DC AS "authorDc" + ,A.AUTHOR_CREAT_DE AS "authorCreatDe" + ,(SELECT COUNT(B.AUTHOR_CODE) + FROM XIT_MENU_CREAT_DTLS B + WHERE B.AUTHOR_CODE = A.AUTHOR_CODE ) AS "chkYeoBu" + FROM XIT_AUTHOR_INFO A WHERE A.AUTHOR_CODE = #{authorCode} - /** XitMenuCreateMngMapper.findListOfMenuInfo */ /** 메뉴목록 조회 */ SELECT @@ -88,7 +88,7 @@ ORDER BY A.MENU_ORDR - /** XitMenuCreateMngMapper.findUserScrtySetupByUsr */ /** 사용자별 사용자보안설정 데이터 조회 */ SELECT AUTHOR_CODE AS "authorCode" diff --git a/src/main/resources/sqlmapper/framework/mng/menu/create/XitMenuCreateMng-oracle-mapper.xml b/src/main/resources/sqlmapper/framework/mng/menu/menuCreateMng-oracle-mapper.xml similarity index 67% rename from src/main/resources/sqlmapper/framework/mng/menu/create/XitMenuCreateMng-oracle-mapper.xml rename to src/main/resources/sqlmapper/framework/mng/menu/menuCreateMng-oracle-mapper.xml index 82154e10..3572ee03 100644 --- a/src/main/resources/sqlmapper/framework/mng/menu/create/XitMenuCreateMng-oracle-mapper.xml +++ b/src/main/resources/sqlmapper/framework/mng/menu/menuCreateMng-oracle-mapper.xml @@ -1,53 +1,34 @@ - - - - SELECT * FROM - (SELECT LIST.*, ROWNUM AS "RN" FROM( - - - - ) LIST - ) WHERE RN BETWEEN #{firstIndex} + 1 AND #{firstIndex} + #{recordCountPerPage} - - - + - SELECT A.AUTHOR_CODE AS "authorCode" - ,A.AUTHOR_NM AS "authorNm" - ,A.AUTHOR_DC AS "authorDc" - ,A.AUTHOR_CREAT_DE AS "authorCreatDe" - ,(SELECT COUNT(B.AUTHOR_CODE) - FROM XIT_MENU_CREAT_DTLS B - WHERE B.AUTHOR_CODE = A.AUTHOR_CODE ) AS "chkYeoBu" + - FROM XIT_AUTHOR_INFO A + - - AND A.AUTHOR_CODE LIKE '%' || #{searchKeyword} || '%' - + - /** XitMenuCreateMngMapper.findList */ /** 메뉴생성관리 목록 조회 */ - - - - - - + SELECT A.AUTHOR_CODE AS "authorCode" + ,A.AUTHOR_NM AS "authorNm" + ,A.AUTHOR_DC AS "authorDc" + ,A.AUTHOR_CREAT_DE AS "authorCreatDe" + ,(SELECT COUNT(B.AUTHOR_CODE) + FROM XIT_MENU_CREAT_DTLS B + WHERE B.AUTHOR_CODE = A.AUTHOR_CODE ) AS "chkYeoBu" + FROM XIT_AUTHOR_INFO A WHERE 1=1 - - - - + + AND A.AUTHOR_CODE LIKE '%' || #{searchKeyword} || '%' + @@ -56,24 +37,32 @@ /** XitMenuCreateMngMapper.findListTotCnt */ /** 메뉴생성관리 목록 총건수 조회 */ SELECT COUNT(1) AS "CNT" - + FROM XIT_AUTHOR_INFO A WHERE 1=1 - + + AND A.AUTHOR_CODE LIKE '%' || #{searchKeyword} || '%' + - /** XitMenuCreateMngMapper.findView */ /** 메뉴생성관리 상세정보 조회 */ - - + SELECT A.AUTHOR_CODE AS "authorCode" + ,A.AUTHOR_NM AS "authorNm" + ,A.AUTHOR_DC AS "authorDc" + ,A.AUTHOR_CREAT_DE AS "authorCreatDe" + ,(SELECT COUNT(B.AUTHOR_CODE) + FROM XIT_MENU_CREAT_DTLS B + WHERE B.AUTHOR_CODE = A.AUTHOR_CODE ) AS "chkYeoBu" + FROM XIT_AUTHOR_INFO A WHERE A.AUTHOR_CODE = #{authorCode} - /** XitMenuCreateMngMapper.findListOfMenuInfo */ /** 메뉴목록 조회 */ SELECT @@ -90,7 +79,7 @@ ORDER BY A.MENU_ORDR - /** XitMenuCreateMngMapper.findUserScrtySetupByUsr */ /** 사용자별 사용자보안설정 데이터 조회 */ SELECT AUTHOR_CODE AS "authorCode" diff --git a/src/main/resources/sqlmapper/framework/mng/menu/menuListMng-mysql-mapper.xml b/src/main/resources/sqlmapper/framework/mng/menu/menuListMng-mysql-mapper.xml new file mode 100644 index 00000000..7bf2a6d1 --- /dev/null +++ b/src/main/resources/sqlmapper/framework/mng/menu/menuListMng-mysql-mapper.xml @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + /** XitMenuListMngMapper.deleteAllMenuList */ + /** 메뉴정보 전체데이터 삭제 */ + + + DELETE FROM XIT_MENU_INFO + + + + + diff --git a/src/main/resources/sqlmapper/framework/mng/menu/menuListMng-oracle-mapper.xml b/src/main/resources/sqlmapper/framework/mng/menu/menuListMng-oracle-mapper.xml new file mode 100644 index 00000000..de27a2aa --- /dev/null +++ b/src/main/resources/sqlmapper/framework/mng/menu/menuListMng-oracle-mapper.xml @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + /** XitMenuListMngMapper.deleteAllMenuList */ + /** 메뉴정보 전체데이터 삭제 */ + + + DELETE FROM XIT_MENU_INFO + + + + + diff --git a/src/main/resources/sqlmapper/framework/mng/menu/program-mysql-mapper.xml b/src/main/resources/sqlmapper/framework/mng/menu/program-mysql-mapper.xml index c69b56b9..06eee36a 100644 --- a/src/main/resources/sqlmapper/framework/mng/menu/program-mysql-mapper.xml +++ b/src/main/resources/sqlmapper/framework/mng/menu/program-mysql-mapper.xml @@ -1,9 +1,9 @@ - + - /* program-mysql-mapper|selectPrograms-프로그램 목록 조회|julim */ SELECT progrm_file_nm , progrm_stre_cours @@ -20,7 +20,7 @@ - /* program-mysql-mapper|selectProgram-프로그램 정보 조회|julim */ SELECT progrm_file_nm , progrm_stre_cours @@ -35,7 +35,7 @@ - + /* program-mysql-mapper|insertProgram-프로그램 등록|julim */ INSERT INTO xit_progrm_list( @@ -53,7 +53,7 @@ ) - + /* program-mysql-mapper|updateProgram-프로그램 정보 변경|julim */ UPDATE xit_progrm_list SET progrm_korean_nm = #{progrmKoreanNm} diff --git a/src/main/resources/sqlmapper/framework/mng/menu/program-oracle-mapper.xml b/src/main/resources/sqlmapper/framework/mng/menu/program-oracle-mapper.xml index 02cad126..544ddb0b 100644 --- a/src/main/resources/sqlmapper/framework/mng/menu/program-oracle-mapper.xml +++ b/src/main/resources/sqlmapper/framework/mng/menu/program-oracle-mapper.xml @@ -1,6 +1,6 @@ - + SELECT * FROM diff --git a/src/main/webapp/WEB-INF/jsp/framework/XitIncludeBase.jsp b/src/main/webapp/WEB-INF/jsp/framework/XitIncludeBase.jsp index 5adb6624..af60a428 100644 --- a/src/main/webapp/WEB-INF/jsp/framework/XitIncludeBase.jsp +++ b/src/main/webapp/WEB-INF/jsp/framework/XitIncludeBase.jsp @@ -11,7 +11,7 @@ - + <%----%> diff --git a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/create/XitMenuCreateMng_input.jsp b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/create/XitMenuCreateMng_input.jsp index 9bc076d8..dac4d9df 100644 --- a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/create/XitMenuCreateMng_input.jsp +++ b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/create/XitMenuCreateMng_input.jsp @@ -9,11 +9,11 @@ String imagePath_button = "/images/egovframework/sym/mpm/button/"; %> - + ---%> +<%-- - + @@ -146,7 +146,7 @@ $(document).ready(function(){ if(confirm("저장 하시겠습니까?")){ var param = $(varFrom).serialize(); $.ajax({ - url : "", + url : "", data : param, type : "post", dataType : "json", @@ -172,7 +172,7 @@ $(document).ready(function(){ if(confirm("수정 하시겠습니까?")){ var param = $(varFrom).serialize(); $.ajax({ - url : "", + url : "", data : param, type : "post", dataType : "json", @@ -195,7 +195,7 @@ $(document).ready(function(){ if(confirm("삭제 하시겠습니까?")){ var param = $(varFrom).serialize(); $.ajax({ - url : "", + url : "", data : param, type : "post", dataType : "json", diff --git a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/list/XitMenuListMng_input.jsp b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/list/XitMenuListMng_input.jsp index f1322e7a..b0f5281e 100644 --- a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/list/XitMenuListMng_input.jsp +++ b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/list/XitMenuListMng_input.jsp @@ -11,7 +11,7 @@ - + @@ -160,7 +160,7 @@ $(document).ready(function(){ if(confirm("저장 하시겠습니까?")){ var param = $(varFrom).serialize(); $.ajax({ - url : "", + url : "", data : param, type : "post", dataType : "json", @@ -186,7 +186,7 @@ $(document).ready(function(){ if(confirm("수정 하시겠습니까?")){ var param = $(varFrom).serialize(); $.ajax({ - url : "", + url : "", data : param, type : "post", dataType : "json", @@ -209,7 +209,7 @@ $(document).ready(function(){ if(confirm("삭제 하시겠습니까?")){ var param = $(varFrom).serialize(); $.ajax({ - url : "", + url : "", data : param, type : "post", dataType : "json", diff --git a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/list/XitMenuListMng_inputs.jsp b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/list/XitMenuListMng_inputs.jsp index 0ea2a6ae..d94a213b 100644 --- a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/list/XitMenuListMng_inputs.jsp +++ b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/list/XitMenuListMng_inputs.jsp @@ -68,7 +68,7 @@ $(document).ready(function(){ click: function(){ if(confirm("메뉴일괄등록을 하시겠습니까?. \n 메뉴정보와 프로그램목록, 프로그램 변경내역 존재시 삭제 하실 수 없습니다.")){ if(XitMenuListMng_inputs.fnCheckFule()){ - document.menuManageRegistForm.action =""; + document.menuManageRegistForm.action =""; document.menuManageRegistForm.submit(); } } diff --git a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/list/backup/XitMenuListMng_edit.jsp b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/list/backup/XitMenuListMng_edit.jsp index 586892ad..6277db25 100644 --- a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/list/backup/XitMenuListMng_edit.jsp +++ b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/list/backup/XitMenuListMng_edit.jsp @@ -23,7 +23,7 @@ function updateMenuManage(form) { return; }else{ if(confirm("")){ - form.action=""; + form.action=""; form.submit(); } } @@ -34,7 +34,7 @@ function updateMenuManage(form) { ******************************************************** */ function deleteMenuManage(form) { if(confirm("")){ - form.action=""; + form.action=""; form.submit(); } } @@ -49,7 +49,7 @@ function searchFileNm() { * 목록조회 함수 ******************************************************** */ function selectList(){ - location.href = ""; + location.href = ""; } /* ******************************************************** @@ -79,7 +79,7 @@ function press() {

메뉴상세조회및 수정

- +
@@ -149,7 +149,7 @@ function press() {
- 목록 + 목록 diff --git a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/list/backup/XitMenuListMng_input.jsp b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/list/backup/XitMenuListMng_input.jsp index 38302e21..ec887f53 100644 --- a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/list/backup/XitMenuListMng_input.jsp +++ b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/list/backup/XitMenuListMng_input.jsp @@ -22,7 +22,7 @@ function insertMenuManage(form) { return; }else{ if(confirm("")){ - form.action=""; + form.action=""; form.submit(); } } @@ -40,7 +40,7 @@ function searchFileNm() { * 목록조회 함수 ******************************************************** */ function selectList(){ - location.href = ""; + location.href = ""; } /* ******************************************************** * 파일명 엔터key 목록조회 함수 @@ -67,7 +67,7 @@ function press() {

메뉴 등록

- +
diff --git a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/list/backup/XitMenuListMng_inputs.jsp b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/list/backup/XitMenuListMng_inputs.jsp index a4e833e8..f10bb74c 100644 --- a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/list/backup/XitMenuListMng_inputs.jsp +++ b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/list/backup/XitMenuListMng_inputs.jsp @@ -18,7 +18,7 @@ function insertMenuManage() { if(confirm("메뉴일괄등록을 하시겠습니까?. \n 메뉴정보와 프로그램목록, 프로그램 변경내역 존재시 삭제 하실 수 없습니다.")){ if(checkFile()){ - document.menuManageRegistForm.action =""; + document.menuManageRegistForm.action =""; document.menuManageRegistForm.submit(); } } @@ -28,7 +28,7 @@ function insertMenuManage() { ******************************************************** */ function deleteMenuList() { if(confirm("메뉴일괄삭제를 하시겠습니까?. \n 메뉴정보와 프로그램목록, 프로그램 변경내역 데이타 모두 삭제 삭제처리 됩니다.")){ - document.menuManageRegistForm.action =""; + document.menuManageRegistForm.action =""; document.menuManageRegistForm.submit(); } } @@ -97,7 +97,7 @@ function checkFile(){
- 목록 + 목록 일괄등록 diff --git a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/list/backup/XitMenuListMng_list2.jsp b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/list/backup/XitMenuListMng_list2.jsp index a09ab140..5805cfec 100644 --- a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/list/backup/XitMenuListMng_list2.jsp +++ b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/list/backup/XitMenuListMng_list2.jsp @@ -65,7 +65,7 @@ function fDeleteMenuList() { } document.menuManageForm.checkedMenuNoForDel.value=checkMenuNos; - document.menuManageForm.action = ""; + document.menuManageForm.action = ""; document.menuManageForm.submit(); } @@ -75,7 +75,7 @@ function fDeleteMenuList() { function linkPage(pageNo){ // document.menuManageForm.searchKeyword.value = document.menuManageForm.pageIndex.value = pageNo; - document.menuManageForm.action = ""; + document.menuManageForm.action = ""; document.menuManageForm.submit(); } @@ -84,7 +84,7 @@ function linkPage(pageNo){ ******************************************************** */ function selectMenuManageList() { document.menuManageForm.pageIndex.value = 1; - document.menuManageForm.action = ""; + document.menuManageForm.action = ""; document.menuManageForm.submit(); } @@ -92,7 +92,7 @@ function selectMenuManageList() { * 입력 화면 호출 함수 ******************************************************** */ function insertMenuManage() { - document.menuManageForm.action = ""; + document.menuManageForm.action = ""; document.menuManageForm.submit(); } @@ -100,7 +100,7 @@ function insertMenuManage() { * 일괄처리 화면호출 함수 ******************************************************** */ function bndeInsertMenuManage() { - document.menuManageForm.action = ""; + document.menuManageForm.action = ""; document.menuManageForm.submit(); } /* ******************************************************** @@ -108,7 +108,7 @@ function bndeInsertMenuManage() { ******************************************************** */ function selectUpdtMenuManageDetail(menuNo) { document.menuManageForm.menuNo.value = menuNo; - document.menuManageForm.action = ""; + document.menuManageForm.action = ""; document.menuManageForm.submit(); } @@ -122,7 +122,7 @@ function selectUpdtMenuManageDetail(menuNo) { -
+ diff --git a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/create/XitMenuCreateMng_list.jsp b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngMenuCreateMgtForm.jsp similarity index 95% rename from src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/create/XitMenuCreateMng_list.jsp rename to src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngMenuCreateMgtForm.jsp index 5f19777b..158380d6 100644 --- a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/create/XitMenuCreateMng_list.jsp +++ b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngMenuCreateMgtForm.jsp @@ -127,14 +127,13 @@ var XitMenuCreateMng_list = { //initialRequest: true, // 화면 load시 조회 않함 - default api: { readData: { - url: '' + url: '' , method: 'get' - , serializer: (params) => { - debugger + , serializer: (params) => fnAddPageInfo(document.frmSearch, params) + /*debugger const p = fnAddPageInfo(document.frmSearch, params); console.log(p); - return p; - } + return p;*/ } } } @@ -234,7 +233,7 @@ var XitMenuCreateMng_list = { var rowData = props.grid.getRow(props.rowKey); var params = ""; params += "authorCode=" + rowData.authorCode; - XitMenuCreateMng_list.pagePopup('input', "", params); + XitMenuCreateMng_list.pagePopup('input', "", params); } } diff --git a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/list/XitMenuListMng_list.jsp b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngMenuMgtForm.jsp similarity index 94% rename from src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/list/XitMenuListMng_list.jsp rename to src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngMenuMgtForm.jsp index c16f0bfe..f1d04058 100644 --- a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/list/XitMenuListMng_list.jsp +++ b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngMenuMgtForm.jsp @@ -131,7 +131,7 @@ var XitMenuListMng_list = { //initialRequest: false, // 화면 load시 조회 않함 - default api: { readData: { - url: '' + url: '' , method: 'GET' , serializer: (params) => fnAddPageInfo(document.menuManageForm, params) } @@ -168,7 +168,7 @@ var XitMenuListMng_list = { //등록 Event 설정 $("#btnRegist").click(function(){ - XitMenuListMng_list.pagePopup('input', ""); + XitMenuListMng_list.pagePopup('input', ""); }); //삭제 Event 설정 $("#btnDelete").click(function(){ @@ -176,7 +176,7 @@ var XitMenuListMng_list = { }); //일괄등록 Event 설정 $("#allRegist_btn").click(function(){ - XitMenuListMng_list.pagePopup('inputs', ""); + XitMenuListMng_list.pagePopup('inputs', ""); }); }, /* ======================== @@ -211,7 +211,7 @@ var XitMenuListMng_list = { //Call document.menuManageForm.checkedMenuNoForDel.value=checkMenuNos; - document.menuManageForm.action = ""; + document.menuManageForm.action = ""; document.menuManageForm.submit(); }, /* ======================== @@ -271,7 +271,7 @@ var XitMenuListMng_list = { var rowData = props.grid.getRow(props.rowKey); var params = ""; params += "menuNo=" + rowData.menuNo; - XitMenuListMng_list.pagePopup('detail', "", params); + XitMenuListMng_list.pagePopup('detail', "", params); } ,fncManageChecked : function(){ var checkArr = instance.getCheckedRows(); diff --git a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngProgramMgtFrom.jsp b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngProgramMgtFrom.jsp index f4fd4893..fcd496ce 100644 --- a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngProgramMgtFrom.jsp +++ b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngProgramMgtFrom.jsp @@ -135,7 +135,7 @@ url: '' , method: 'get' , serializer: (params) => { - return fnAddPageInfo(document.frmSearch, params);; + return fnAddPageInfo(document.frmSearch, params); } } } diff --git a/src/main/webapp/resources/js/framework/egov/EgovMainMenu.js b/src/main/webapp/resources/js/framework/egov/EgovMainMenu.js index 0122a485..0502486e 100644 --- a/src/main/webapp/resources/js/framework/egov/EgovMainMenu.js +++ b/src/main/webapp/resources/js/framework/egov/EgovMainMenu.js @@ -4,7 +4,7 @@ var treeNodes = new Array();; var openTreeNodes = new Array(); var treeIcons = new Array(6); -var imgpath = "/resources/images/egovframework/com/cmm/utl/"; +var imgpath = "/resources/images/tree/"; var treeYeobu = false; var chkValue = ""; var vHtmlCode = ""; @@ -25,6 +25,7 @@ function preloadIcons() { treeIcons[4].src = imgpath+"menu_folder.gif"; treeIcons[5] = new Image(); treeIcons[5].src = imgpath+"menu_folderopen.gif"; + } /* * 트리생성함수 diff --git a/src/main/webapp/resources/js/framework/egov/EgovMenuCreat.js b/src/main/webapp/resources/js/framework/egov/EgovMenuCreat.js index 0eb5708e..8be98a2d 100644 --- a/src/main/webapp/resources/js/framework/egov/EgovMenuCreat.js +++ b/src/main/webapp/resources/js/framework/egov/EgovMenuCreat.js @@ -4,7 +4,7 @@ var treeNodes = new Array(); var openTreeNodes = new Array(); var treeIcons = new Array(6); -//var imgpath = "/resources/images/tree/"; +var imgpath = "/resources/images/tree/"; /* * 노드 , 트리 구성 이미지 정보