메뉴관리 메뉴노출 권한 저장/표시 오류 수정
- 메뉴노출 체크박스 id 줄바꿈으로 저장된 권한이 체크되지 않던 문제 수정 - 메뉴타입이 없는 메뉴(하위메뉴 있음) 저장 시 NullPointerException 수정 - 메뉴 생성 시 메뉴타입 M 지정
@61122cfa33b4ddda29411ab6fb707eb5e0fe0bf5
--- src/main/java/kcc/let/sym/mnu/mcm/web/EgovMenuCreateManageController.java
+++ src/main/java/kcc/let/sym/mnu/mcm/web/EgovMenuCreateManageController.java
... | ... | @@ -399,6 +399,7 @@ |
| 399 | 399 |
menuManageVO.setRelateImagePath("/"); //임시
|
| 400 | 400 |
menuManageVO.setRelateImageNm("/"); //임시
|
| 401 | 401 |
menuManageVO.setProgrmFileNm("dir"); //임시
|
| 402 |
+ menuManageVO.setMenuType("M"); //임시(dir 이므로 메뉴 타입)
|
|
| 402 | 403 |
menuManageVO.setMenuUserType("U"); //임시
|
| 403 | 404 |
|
| 404 | 405 |
{ //동급 레벨 번호 조회
|
... | ... | @@ -564,9 +565,9 @@ |
| 564 | 565 |
MenuManageVO tmpMenuManageVO = menuManageService.selectMenuManage(menuManageVO); |
| 565 | 566 |
//하위노드가 있는 메뉴의 경우 타입을 변경 하지 못하도록 수정 |
| 566 | 567 |
if( |
| 567 |
- menuCreatVO.getExistChildNode().equals("Y")
|
|
| 568 |
- && !tmpMenuManageVO.getMenuType().equals(menuManageVO.getMenuType()) |
|
| 569 |
- && "M".equals(tmpMenuManageVO.getMenuType())) {
|
|
| 568 |
+ "Y".equals(menuCreatVO.getExistChildNode()) |
|
| 569 |
+ && "M".equals(tmpMenuManageVO.getMenuType()) |
|
| 570 |
+ && !"M".equals(menuManageVO.getMenuType())) {
|
|
| 570 | 571 |
modelAndView.addObject("status", "menuInNode");
|
| 571 | 572 |
return modelAndView; |
| 572 | 573 |
} |
--- src/main/webapp/WEB-INF/jsp/sym/mnu/mpm/EgovMenuCreatSelectJtree.jsp
+++ src/main/webapp/WEB-INF/jsp/sym/mnu/mpm/EgovMenuCreatSelectJtree.jsp
... | ... | @@ -1050,16 +1050,12 @@ |
| 1050 | 1050 |
value="${authorList.authorCode}" />
|
| 1051 | 1051 |
<label for="${authorList.authorCode}">
|
| 1052 | 1052 |
${authorList.authorNm} </label> --%>
|
| 1053 |
- <label for="<c:out value=" |
|
| 1054 |
- ${authorList.authorCode}" />"
|
|
| 1055 |
- class="checkbox_item"> |
|
| 1053 |
+ <label for="<c:out value="${authorList.authorCode}" />" class="checkbox_item">
|
|
| 1056 | 1054 |
<input name="authorChkList" |
| 1057 |
- id="<c:out value=" |
|
| 1058 |
- ${authorList.authorCode}" />"
|
|
| 1059 |
- title="Check |
|
| 1060 |
- <c:out value="${status.count}" />"
|
|
| 1061 |
- type="checkbox" |
|
| 1062 |
- value="${authorList.authorCode}"/>
|
|
| 1055 |
+ id="<c:out value="${authorList.authorCode}" />"
|
|
| 1056 |
+ title="Check <c:out value="${status.count}" />"
|
|
| 1057 |
+ type="checkbox" |
|
| 1058 |
+ value="${authorList.authorCode}"/>
|
|
| 1063 | 1059 |
<c:out value="${authorList.authorNm}" />
|
| 1064 | 1060 |
( |
| 1065 | 1061 |
<c:out |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?