From 9a74fd98153c78d718a61cba196871d73a9b1b2d Mon Sep 17 00:00:00 2001 From: minuk926 Date: Fri, 20 Jan 2023 17:55:09 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EA=B6=8C=ED=95=9C=EB=B3=84=20=EB=A9=94?= =?UTF-8?q?=EB=89=B4=20=EA=B4=80=EB=A6=AC=20=EC=98=A4=EB=A5=98=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../biz/mng/menu/service/MenuMgtService.java | 2 ++ .../framework/biz/mng/menu/mngMenuMgtForm.jsp | 23 ++++++++++++------- .../biz/mng/menu/mngMenuMgtPopup.jsp | 3 ++- 3 files changed, 19 insertions(+), 9 deletions(-) diff --git a/src/main/java/kr/xit/framework/biz/mng/menu/service/MenuMgtService.java b/src/main/java/kr/xit/framework/biz/mng/menu/service/MenuMgtService.java index ff07e588..9a6525da 100644 --- a/src/main/java/kr/xit/framework/biz/mng/menu/service/MenuMgtService.java +++ b/src/main/java/kr/xit/framework/biz/mng/menu/service/MenuMgtService.java @@ -78,6 +78,8 @@ public class MenuMgtService implements IMenuMgtService { if(mapper.selectMenuInfos(XitMenuInfoVO.builder().upperMenuNo(menuNo).build()).size() > 0) throw BizRuntimeException.create("fail.common.delete.upperMenuExist"); + + //TODO: xit_menu_creat_dtls 해당 정보 삭제후 실행??? mapper.deleteMenuInfo(menuNo); cacheService.evictAllMenuCache(); } diff --git a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngMenuMgtForm.jsp b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngMenuMgtForm.jsp index 669b4c1a..338c37f3 100644 --- a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngMenuMgtForm.jsp +++ b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngMenuMgtForm.jsp @@ -123,10 +123,17 @@ ******************************* */ const initGrid = () => { const gridColumns = [ + { + header: '상위메뉴번호', + name: 'upperMenuNo', + minWidth: 100, + sortable: false, + align: 'center' + }, { header: '메뉴번호', name: 'menuNo', - width: 100, + minWidth: 100, sortable: true, sortingType: 'desc', align: 'center' @@ -134,7 +141,7 @@ { header: '메뉴명', name: 'menuNm', - width: 200, + minWidth: 120, sortable: false, //align: 'center', renderer: { @@ -152,7 +159,7 @@ { header: '프로그램파일명', name: 'progrmFileNm', - width: 200, + minWidth: 120, sortable: false, //align: 'center' }, @@ -164,16 +171,16 @@ align: 'left' }, { - header: '상위메뉴번호', - name: 'upperMenuNo', - width: 100, + header: '정렬순서', + name: 'menuOrdr', + minWidth: 80, sortable: false, - align: 'center' + align: 'right' }, { header: '메뉴관리', name: '메뉴등록', - width: 80, + minWidth: 80, sortable: false, align: 'center', renderer: { diff --git a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngMenuMgtPopup.jsp b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngMenuMgtPopup.jsp index 3873dfc2..65a9b8b2 100644 --- a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngMenuMgtPopup.jsp +++ b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngMenuMgtPopup.jsp @@ -65,8 +65,9 @@ - + + 최상위메뉴는 메뉴번호 앞 1, 또는 2자리