package com.qianwen.smartman.modules.system.service; import com.baomidou.mybatisplus.extension.service.IService; import java.util.List; import java.util.Map; import com.qianwen.smartman.modules.system.entity.Dept; import com.qianwen.smartman.modules.system.vo.DataScopeGrantVO; import com.qianwen.smartman.modules.system.vo.DeptVO; public interface IDataScopeManagerService extends IService { List lazyList(String tenantId, Long parentId, Map param); List tree(String tenantId); List lazyTree(String tenantId, Long parentId); String getDeptIds(String tenantId, String deptNames); String getDeptIdsByFuzzy(String tenantId, String deptNames); List getDeptNames(String deptIds); List getDeptChild(Long deptId); boolean removeDept(String ids); boolean submit(Dept dept); List search(String deptName, Long parentId); /** * 数据权限授权 * @param grantVO * @return */ boolean grant(DataScopeGrantVO grantVO); List grantSelect(String deptId); }