接口 ScopeModelHandler

所有已知实现类:
BaseScopeModelHandler

public interface ScopeModelHandler
获取数据权限模型统一接口
  • 方法详细资料

    • getDataScopeByMapper

      DataScopeModel getDataScopeByMapper(String mapperId, String roleId)
      获取数据权限
      参数:
      mapperId - 数据权限mapperId
      roleId - 用户角色集合
      返回:
      DataScopeModel
    • getDataScopeByCode

      DataScopeModel getDataScopeByCode(String code)
      获取数据权限
      参数:
      code - 数据权限资源编号
      返回:
      DataScopeModel
    • getDeptAncestors

      List<String> getDeptAncestors(String deptId)
      获取部门子级
      参数:
      deptId - 部门id
      返回:
      deptIds