|
|
|
@ -7,9 +7,7 @@
|
|
|
|
|
<include refid="sqlTree"/>
|
|
|
|
|
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.progrm_file_nm = SA.progrm_file_nm ) AS "menuUrl"
|
|
|
|
|
, (CASE B.ACTION WHEN '/' THEN '#' ELSE B.ACTION END) AS "menuUrl"
|
|
|
|
|
, D.menu_depth AS "menuDepth"
|
|
|
|
|
, D.parnt_menu_id AS "parentSid"
|
|
|
|
|
, D.menu_full_path AS "menuPath"
|
|
|
|
@ -30,9 +28,7 @@
|
|
|
|
|
<include refid="sqlTree"/>
|
|
|
|
|
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.progrm_file_nm = SA.progrm_file_nm ) AS "menuUrl"
|
|
|
|
|
, (CASE B.ACTION WHEN '/' THEN '#' ELSE B.ACTION END) AS "menuUrl"
|
|
|
|
|
, D.menu_depth AS "menuDepth"
|
|
|
|
|
, D.parnt_menu_id AS "parentSid"
|
|
|
|
|
, D.menu_full_path AS "menuPath"
|
|
|
|
@ -61,10 +57,7 @@
|
|
|
|
|
<include refid="sqlTree"/>
|
|
|
|
|
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.progrm_file_nm = SA.progrm_file_nm) AS "menuUrl"
|
|
|
|
|
, (CASE B.ACTION WHEN '/' THEN '#' ELSE B.ACTION END) AS "menuUrl"
|
|
|
|
|
, D.menu_depth AS "menuDepth"
|
|
|
|
|
, D.parnt_menu_id AS "parentSid"
|
|
|
|
|
, D.menu_full_path AS "menuPath"
|
|
|
|
@ -101,8 +94,6 @@
|
|
|
|
|
, 1 AS "menu_depth"
|
|
|
|
|
, '' AS "icon_class"
|
|
|
|
|
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
|
|
|
|
|
UNION ALL
|
|
|
|
|
SELECT A.menu_no AS "menu_id"
|
|
|
|
|