ZQN
2024-06-27 ea5615a5081d675700544e3c834939c18dae543e
project-system/src/main/java/com/project/system/service/ISysDeptService.java
@@ -2,6 +2,7 @@
import com.project.common.core.domain.TreeSelect;
import com.project.common.core.domain.entity.SysDept;
import com.project.common.mybatis.IBaseService;
import java.util.List;
@@ -10,7 +11,7 @@
 *
 * @author project
 */
public interface ISysDeptService
public interface ISysDeptService extends IBaseService<SysDept>
{
    /**
     * 查询部门管理数据
@@ -124,6 +125,26 @@
    public int deleteDeptById(Long deptId);
    /**
     * 获取对应审批机构id
     * @param deptId    登录人部门id
     * @return  审批机构id
     */
    public Long getCheckDeptIdByLoginDeptId(Long deptId);
    /**
     * 获取对应管辖机构ids
     * @param userId    登录人id
     * @return  管辖机构ids
     */
    List<Long> getApplyDeptIdsByLoginUserId(Long userId);
    /**
     * 获取单位全名
     * @param deptId    部门id
     * @return  全名
     */
    String getDeptAllName(Long deptId);
}