拆分think模块包
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
package com.gxwebsoft.common.system.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.gxwebsoft.common.system.entity.Menu;
|
||||
import com.gxwebsoft.common.system.entity.RoleMenu;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 角色菜单Service
|
||||
*
|
||||
* @author WebSoft
|
||||
* @since 2018-12-24 16:10:44
|
||||
*/
|
||||
public interface RoleMenuService extends IService<RoleMenu> {
|
||||
|
||||
/**
|
||||
* 查询用户对应的菜单
|
||||
*
|
||||
* @param userId 用户id
|
||||
* @param menuType 菜单类型
|
||||
* @return List<Menu>
|
||||
*/
|
||||
List<Menu> listMenuByUserId(Integer userId, Integer menuType);
|
||||
|
||||
/**
|
||||
* 查询用户对应的菜单
|
||||
*
|
||||
* @param roleIds 角色id
|
||||
* @param menuType 菜单类型
|
||||
* @return List<Menu>
|
||||
*/
|
||||
List<Menu> listMenuByRoleIds(List<Integer> roleIds, Integer menuType);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user