yangys
2024-05-11 522dafb06be3374f27d087c370bcf06027e0f1cc
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);
}