fix : 메뉴 관련 변수명 수정(menuUrl -> menuView)

main
이범준 2 years ago
parent 6db2a6bfa3
commit de284166a7

@ -93,7 +93,7 @@ public class MenuIntercepter extends HandlerInterceptorAdapter {
for(int i=0; i < allMenuList.size(); i++) {
Map<String, String> mUrlInfo = allMenuList.get(i);
if (Checks.isNotEmpty(mUrlInfo.get("menuUrl")) && mUrlInfo.get("menuUrl").toString().contains(reqPath)) {
if (Checks.isNotEmpty(mUrlInfo.get("menuView")) && mUrlInfo.get("menuView").toString().contains(reqPath)) {
String[] arrPath = mUrlInfo.get("menuPath").toString().split("_");
if(arrPath.length > 1){
mUrlInfo.put("secondMenu", arrPath[1]);

@ -7,7 +7,7 @@
<include refid="sqlTree"/>
SELECT D.menu_id AS "menuSid"
, D.menu_name AS "menuName"
, (CASE B.ACTION WHEN '/' THEN '#' ELSE B.ACTION END) AS "menuUrl"
, (CASE B.ACTION WHEN '/' THEN '#' ELSE B.ACTION END) AS "menuView"
, D.menu_depth AS "menuDepth"
, D.parnt_menu_id AS "parentSid"
, D.menu_full_path AS "menuPath"
@ -28,7 +28,7 @@
<include refid="sqlTree"/>
SELECT D.menu_id AS "menuSid"
, D.menu_name AS "menuName"
, (CASE B.ACTION WHEN '/' THEN '#' ELSE B.ACTION END) AS "menuUrl"
, (CASE B.ACTION WHEN '/' THEN '#' ELSE B.ACTION END) AS "menuView"
, D.menu_depth AS "menuDepth"
, D.parnt_menu_id AS "parentSid"
, D.menu_full_path AS "menuPath"
@ -57,7 +57,7 @@
<include refid="sqlTree"/>
SELECT D.menu_id AS "menuSid"
, D.menu_name AS "menuName"
, (CASE B.ACTION WHEN '/' THEN '#' ELSE B.ACTION END) AS "menuUrl"
, (CASE B.ACTION WHEN '/' THEN '#' ELSE B.ACTION END) AS "menuView"
, D.menu_depth AS "menuDepth"
, D.parnt_menu_id AS "parentSid"
, D.menu_full_path AS "menuPath"

@ -37,7 +37,7 @@
SELECT
D.MENU_ID AS "menuSid"
,D.MENU_NAME AS "menuName"
,(SELECT CASE SA.URL WHEN '/' THEN '#' ELSE SA.URL END FROM XIT_PROGRM_LIST SA WHERE B.pgrm_file_nm = SA.pgrm_file_nm) AS "menuUrl"
,(SELECT CASE SA.URL WHEN '/' THEN '#' ELSE SA.URL END FROM XIT_PROGRM_LIST SA WHERE B.pgrm_file_nm = SA.pgrm_file_nm) AS "menuView"
,D.MENU_DEPTH AS "menuDepth"
,D.PARNT_MENU_ID AS "parentSid"
,D.MENU_FULL_PATH AS "menuPath"
@ -65,7 +65,7 @@
SELECT
D.MENU_ID AS "menuSid"
,D.MENU_NAME AS "menuName"
,(SELECT CASE SA.URL WHEN '/' THEN '#' ELSE SA.URL END FROM XIT_PROGRM_LIST SA WHERE B.pgrm_file_nm = SA.pgrm_file_nm) AS "menuUrl"
,(SELECT CASE SA.URL WHEN '/' THEN '#' ELSE SA.URL END FROM XIT_PROGRM_LIST SA WHERE B.pgrm_file_nm = SA.pgrm_file_nm) AS "menuView"
,D.MENU_DEPTH AS "menuDepth"
,D.PARNT_MENU_ID AS "parentSid"
,D.MENU_FULL_PATH AS "menuPath"

@ -10,7 +10,7 @@
<c:forEach var="row" items="${arrMenuName}" varStatus="status">
<c:choose>
<c:when test="${status.last }">
<li class="breadcrumb-item active" aria-current="page"><a href="${ctx }${urlInfoMap.menuUrl}"><c:out value="${row }"/></a></li>
<li class="breadcrumb-item active" aria-current="page"><a href="${ctx }${urlInfoMap.menuView}"><c:out value="${row }"/></a></li>
</c:when>
<c:otherwise>
<li class="breadcrumb-item"><a href="#none"><c:out value="${row }"/></a></li>

Loading…
Cancel
Save