|
|
@ -7,9 +7,7 @@
|
|
|
|
<include refid="sqlTree"/>
|
|
|
|
<include refid="sqlTree"/>
|
|
|
|
SELECT D.menu_id AS "menuSid"
|
|
|
|
SELECT D.menu_id AS "menuSid"
|
|
|
|
, D.menu_name AS "menuName"
|
|
|
|
, D.menu_name AS "menuName"
|
|
|
|
, (SELECT CASE SA.URL WHEN '/' THEN '#' ELSE SA.URL END
|
|
|
|
, (CASE B.ACTION WHEN '/' THEN '#' ELSE B.ACTION END) AS "menuUrl"
|
|
|
|
FROM xit_progrm_list SA
|
|
|
|
|
|
|
|
WHERE B.progrm_file_nm = SA.progrm_file_nm ) AS "menuUrl"
|
|
|
|
|
|
|
|
, D.menu_depth AS "menuDepth"
|
|
|
|
, D.menu_depth AS "menuDepth"
|
|
|
|
, D.parnt_menu_id AS "parentSid"
|
|
|
|
, D.parnt_menu_id AS "parentSid"
|
|
|
|
, D.menu_full_path AS "menuPath"
|
|
|
|
, D.menu_full_path AS "menuPath"
|
|
|
@ -30,9 +28,7 @@
|
|
|
|
<include refid="sqlTree"/>
|
|
|
|
<include refid="sqlTree"/>
|
|
|
|
SELECT D.menu_id AS "menuSid"
|
|
|
|
SELECT D.menu_id AS "menuSid"
|
|
|
|
, D.menu_name AS "menuName"
|
|
|
|
, D.menu_name AS "menuName"
|
|
|
|
, (SELECT CASE SA.URL WHEN '/' THEN '#' ELSE SA.URL END
|
|
|
|
, (CASE B.ACTION WHEN '/' THEN '#' ELSE B.ACTION END) AS "menuUrl"
|
|
|
|
FROM xit_progrm_list SA
|
|
|
|
|
|
|
|
WHERE B.progrm_file_nm = SA.progrm_file_nm ) AS "menuUrl"
|
|
|
|
|
|
|
|
, D.menu_depth AS "menuDepth"
|
|
|
|
, D.menu_depth AS "menuDepth"
|
|
|
|
, D.parnt_menu_id AS "parentSid"
|
|
|
|
, D.parnt_menu_id AS "parentSid"
|
|
|
|
, D.menu_full_path AS "menuPath"
|
|
|
|
, D.menu_full_path AS "menuPath"
|
|
|
@ -61,10 +57,7 @@
|
|
|
|
<include refid="sqlTree"/>
|
|
|
|
<include refid="sqlTree"/>
|
|
|
|
SELECT D.menu_id AS "menuSid"
|
|
|
|
SELECT D.menu_id AS "menuSid"
|
|
|
|
, D.menu_name AS "menuName"
|
|
|
|
, D.menu_name AS "menuName"
|
|
|
|
, (
|
|
|
|
, (CASE B.ACTION WHEN '/' THEN '#' ELSE B.ACTION END) AS "menuUrl"
|
|
|
|
SELECT CASE SA.URL WHEN '/' THEN '#' ELSE SA.URL END
|
|
|
|
|
|
|
|
FROM xit_progrm_list SA
|
|
|
|
|
|
|
|
WHERE B.progrm_file_nm = SA.progrm_file_nm) AS "menuUrl"
|
|
|
|
|
|
|
|
, D.menu_depth AS "menuDepth"
|
|
|
|
, D.menu_depth AS "menuDepth"
|
|
|
|
, D.parnt_menu_id AS "parentSid"
|
|
|
|
, D.parnt_menu_id AS "parentSid"
|
|
|
|
, D.menu_full_path AS "menuPath"
|
|
|
|
, D.menu_full_path AS "menuPath"
|
|
|
@ -101,8 +94,6 @@
|
|
|
|
, 1 AS "menu_depth"
|
|
|
|
, 1 AS "menu_depth"
|
|
|
|
, '' AS "icon_class"
|
|
|
|
, '' AS "icon_class"
|
|
|
|
FROM xit_menu_info A
|
|
|
|
FROM xit_menu_info A
|
|
|
|
INNER JOIN xit_progrm_list B
|
|
|
|
|
|
|
|
ON A.progrm_file_nm = B.progrm_file_nm
|
|
|
|
|
|
|
|
WHERE A.UPPER_MENU_NO = 0
|
|
|
|
WHERE A.UPPER_MENU_NO = 0
|
|
|
|
UNION ALL
|
|
|
|
UNION ALL
|
|
|
|
SELECT A.menu_no AS "menu_id"
|
|
|
|
SELECT A.menu_no AS "menu_id"
|
|
|
|