parent
dc41ea4fe3
commit
66cf868588
2 changed files with 38 additions and 2 deletions
@ -0,0 +1,27 @@ |
|||||||
|
package com.teaching.backend.mapper.umsAdmin; |
||||||
|
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||||
|
import com.teaching.backend.model.entity.umsAdmin.UmsPermission; |
||||||
|
import com.teaching.backend.model.entity.umsAdmin.UmsRole; |
||||||
|
import org.apache.ibatis.annotations.Mapper; |
||||||
|
|
||||||
|
/** |
||||||
|
* 后台角色管理自定义Dao |
||||||
|
* Created by macro on 2020/2/2. |
||||||
|
*/ |
||||||
|
@Mapper |
||||||
|
public interface UmsPermissionMapper extends BaseMapper<UmsPermission> { |
||||||
|
/** |
||||||
|
* 根据后台用户ID获取菜单 |
||||||
|
*/ |
||||||
|
// List<UmsMenu> getMenuList(@Param("adminId") Long adminId);
|
||||||
|
// /**
|
||||||
|
// * 根据角色ID获取菜单
|
||||||
|
// */
|
||||||
|
// List<UmsMenu> getMenuListByRoleId(@Param("roleId") Long roleId);
|
||||||
|
// /**
|
||||||
|
// * 根据角色ID获取资源
|
||||||
|
// */
|
||||||
|
// List<UmsResource> getResourceListByRoleId(@Param("roleId") Long roleId);
|
||||||
|
} |
Loading…
Reference in new issue