1
2
3
4
5
6
7
8
9
10
11
12
13
14
| package com.qianwen.core.datascope.handler;
|
| import java.util.List;
| import com.qianwen.core.datascope.model.DataScopeModel;
|
| public interface ScopeModelHandler {
| DataScopeModel getDataScopeByMapper(String mapperId, String roleId);
|
| DataScopeModel getDataScopeByCode(String code);
|
| List<Long> getDeptAncestors(Long deptId);
|
| DataScopeModel getDataScopeByCodeAndDept(String code, String deptId);
| }
|
|