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 getDeptAncestors(Long deptId); DataScopeModel getDataScopeByCodeAndDept(String code, String deptId); }