|
|
@ -18,15 +18,8 @@
|
|
|
|
, ( SELECT COUNT(1)
|
|
|
|
, ( SELECT COUNT(1)
|
|
|
|
FROM TREE_QUERY SA
|
|
|
|
FROM TREE_QUERY SA
|
|
|
|
WHERE SA.parnt_menu_id = D.menu_id) AS "childCnt"
|
|
|
|
WHERE SA.parnt_menu_id = D.menu_id) AS "childCnt"
|
|
|
|
, D.icon_class AS "iconClass"
|
|
|
|
, '' AS "iconClass"
|
|
|
|
FROM xit_menu_creat_dtls A
|
|
|
|
FROM xit_menu_info B
|
|
|
|
INNER JOIN xit_menu_info B
|
|
|
|
|
|
|
|
ON A.menu_no = B.menu_no
|
|
|
|
|
|
|
|
INNER JOIN (
|
|
|
|
|
|
|
|
SELECT FA.author_code, FA.scrty_setup_trget_id
|
|
|
|
|
|
|
|
FROM xit_user_scrty_setup FA
|
|
|
|
|
|
|
|
) C
|
|
|
|
|
|
|
|
ON A.author_code = C.author_code
|
|
|
|
|
|
|
|
INNER JOIN tree_query D
|
|
|
|
INNER JOIN tree_query D
|
|
|
|
ON B.menu_no = D.menu_id
|
|
|
|
ON B.menu_no = D.menu_id
|
|
|
|
ORDER BY D.parnt_menu_id, B.menu_ordr
|
|
|
|
ORDER BY D.parnt_menu_id, B.menu_ordr
|
|
|
|