yangys
2024-05-09 60e317f7782c718d28920060fd686d2092c99c1e
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);
}