| | |
| | | |
| | | <select id="selectMenuTreeAll" resultMap="SysMenuResult"> |
| | | select distinct m.menu_id, m.parent_id, m.menu_name, m.path, m.component, m.`query`, m.route_name, m.visible, m.status, ifnull(m.perms,'') as perms, m.is_frame, m.is_cache, m.menu_type, m.icon, m.order_num, m.create_time, m.mark |
| | | from sys_menu m where m.menu_type in ('M', 'C') and m.status = 0 |
| | | from sys_menu m |
| | | where m.menu_type in ('M', 'C') and m.status = 0 |
| | | <if test="mark != null and mark != ''"> |
| | | and m.mark = #{mark} |
| | | </if> |
| | | order by m.parent_id, m.order_num |
| | | </select> |
| | | |