|
|
|
@ -19,6 +19,7 @@
|
|
|
|
|
, ( SELECT COUNT(1)
|
|
|
|
|
FROM TREE_QUERY SA
|
|
|
|
|
WHERE SA.parnt_menu_id = D.menu_id) AS "childCnt"
|
|
|
|
|
, D.icon_class AS "iconClass"
|
|
|
|
|
FROM xit_menu_creat_dtls A
|
|
|
|
|
INNER JOIN xit_menu_info B
|
|
|
|
|
ON A.menu_no = B.menu_no
|
|
|
|
@ -50,6 +51,7 @@
|
|
|
|
|
, (SELECT COUNT(1)
|
|
|
|
|
FROM TREE_QUERY SA
|
|
|
|
|
WHERE SA.parnt_menu_id = D.menu_id) AS "childCnt"
|
|
|
|
|
, D.icon_class AS "iconClass"
|
|
|
|
|
FROM xit_menu_creat_dtls A
|
|
|
|
|
JOIN xit_menu_info B
|
|
|
|
|
ON A.menu_no = B.menu_no
|
|
|
|
@ -67,6 +69,7 @@
|
|
|
|
|
, menu_full_path
|
|
|
|
|
, menu_full_path_name
|
|
|
|
|
, menu_depth
|
|
|
|
|
, icon_class
|
|
|
|
|
) AS (
|
|
|
|
|
SELECT A.menu_no AS "menu_id"
|
|
|
|
|
, A.upper_menu_no AS "parnt_menu_id"
|
|
|
|
@ -74,6 +77,7 @@
|
|
|
|
|
, CONCAT('', A.menu_no) AS "menu_full_path"
|
|
|
|
|
, CONCAT('', A.menu_nm) AS "menu_full_path_name"
|
|
|
|
|
, 1 AS "menu_depth"
|
|
|
|
|
, A.icon_class AS "icon_class"
|
|
|
|
|
FROM xit_menu_info A
|
|
|
|
|
INNER JOIN xit_progrm_list B
|
|
|
|
|
ON A.progrm_file_nm = B.progrm_file_nm
|
|
|
|
@ -85,6 +89,7 @@
|
|
|
|
|
, CONCAT(B.menu_full_path, '_', A.menu_no) AS "menu_full_path"
|
|
|
|
|
, CONCAT(B.menu_full_path_name, ' > ', A.menu_nm) AS "menu_full_path_name"
|
|
|
|
|
, B.menu_depth + 1 AS "menu_depth"
|
|
|
|
|
, A.icon_class AS "icon_class"
|
|
|
|
|
FROM xit_menu_info A
|
|
|
|
|
INNER JOIN tree_query B
|
|
|
|
|
ON A.upper_menu_no = B.menu_id
|
|
|
|
|