| | |
| | | |
| | | <!--查询菜单列表(排除 web,app 之外的菜单)--> |
| | | <select id="grantTreeNew" resultMap="treeNodeResultMap"> |
| | | select id, parent_id, name as title, id as "value", id as "key" from blade_menu |
| | | where is_deleted = 0 start with name = 'web' CONNECT BY PRIOR id = parent_id |
| | | union all |
| | | ( |
| | | select id, parent_id, name as title, id as "value", id as "key" from blade_menu |
| | | where is_deleted = 0 start with name = 'app' CONNECT BY PRIOR id = parent_id |
| | | ) |
| | | select id, parent_id, name as title, id as "value", id as "key" from YWXT.blade_menu |
| | | where is_deleted = 0 start with ( name = 'web' or name = 'app') CONNECT BY PRIOR id = parent_id order by sort asc |
| | | </select> |
| | | |
| | | </mapper> |