You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							29 lines
						
					
					
						
							429 B
						
					
					
				
			
		
		
	
	
							29 lines
						
					
					
						
							429 B
						
					
					
				select
 | 
						|
	distinct res.name,
 | 
						|
	res.URL,
 | 
						|
	res.id,
 | 
						|
	res.PARENT_ID,
 | 
						|
	res.COMMON,
 | 
						|
	res.ICON,
 | 
						|
	res.SORT,
 | 
						|
	res.TYPE,
 | 
						|
	res.URL,
 | 
						|
	res.DESCRIPTION,
 | 
						|
	res.STATUS,
 | 
						|
	res.PERMISSION_STR,
 | 
						|
	res.PARENT_IDS,
 | 
						|
	res.SYSTEM_CODE,
 | 
						|
	res.ROUTE_NAME,
 | 
						|
	srr.PERMISSION
 | 
						|
from
 | 
						|
	sys_menu res
 | 
						|
left join sys_role_menu srr on
 | 
						|
	res.id = srr.menu_id
 | 
						|
left join sys_user_role ur on
 | 
						|
	ur.role_id = srr.role_id
 | 
						|
where
 | 
						|
	STATUS = '0'
 | 
						|
	and ur.user_id = '120'
 | 
						|
order by
 | 
						|
	res.SORT
 |