forked from luyan/epmet-cloud-lingshan
				
			
			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.
		
		
		
		
		
			
		
			
				
					
					
						
							50 lines
						
					
					
						
							1.1 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							50 lines
						
					
					
						
							1.1 KiB
						
					
					
				
								/**
							 | 
						|
								 * Copyright (c) 2018 人人开源 All rights reserved.
							 | 
						|
								 *
							 | 
						|
								 * https://www.renren.io
							 | 
						|
								 *
							 | 
						|
								 * 版权所有,侵权必究!
							 | 
						|
								 */
							 | 
						|
								
							 | 
						|
								package com.epmet.service;
							 | 
						|
								
							 | 
						|
								import com.epmet.commons.mybatis.service.BaseService;
							 | 
						|
								import com.epmet.commons.tools.security.bo.ResourceBO;
							 | 
						|
								import com.epmet.dto.MenuResourceDTO;
							 | 
						|
								import com.epmet.entity.SysResourceEntity;
							 | 
						|
								
							 | 
						|
								import java.util.List;
							 | 
						|
								
							 | 
						|
								/**
							 | 
						|
								 * 资源管理
							 | 
						|
								 *
							 | 
						|
								 * @author Mark sunlightcs@gmail.com
							 | 
						|
								 * @since 1.0.0
							 | 
						|
								 */
							 | 
						|
								public interface SysResourceService extends BaseService<SysResourceEntity> {
							 | 
						|
								
							 | 
						|
								    /**
							 | 
						|
								     * 获取菜单资源列表
							 | 
						|
								     * @param menuId  菜单ID
							 | 
						|
								     */
							 | 
						|
								    List<MenuResourceDTO> getMenuResourceList(Long menuId);
							 | 
						|
								
							 | 
						|
								    /**
							 | 
						|
								     * 获取所有资源列表
							 | 
						|
								     */
							 | 
						|
								    List<ResourceBO> getResourceList();
							 | 
						|
								
							 | 
						|
								    /**
							 | 
						|
								     * 获取用户资源列表
							 | 
						|
								     * @param userId   用户ID
							 | 
						|
								     */
							 | 
						|
								    List<ResourceBO> getUserResourceList(Long userId);
							 | 
						|
								
							 | 
						|
								    /**
							 | 
						|
								     * 保存菜单资源
							 | 
						|
								     * @param menuId         菜单ID
							 | 
						|
								     * @param menuName       菜单名称
							 | 
						|
								     * @param resourceList   资源列表
							 | 
						|
								     */
							 | 
						|
								    void saveMenuResource(Long menuId, String menuName, List<MenuResourceDTO> resourceList);
							 | 
						|
								}
							 | 
						|
								
							 |