yangys
2024-05-08 dc40d10f7d8227d8b8216584ed19e4d41c57f0cd
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);
}