project-system/src/main/java/com/project/system/mapper/SysDeptMapper.java
@@ -1,8 +1,9 @@ package com.project.system.mapper; import java.util.List; import org.apache.ibatis.annotations.Param; import com.project.common.core.domain.entity.SysDept; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 部门管理 数据层 @@ -115,4 +116,12 @@ * @return 结果 */ public int deleteDeptById(Long deptId); /** * 根据登录人id获取管辖机构ids * @param userId 登录人id * @return 管辖机构ids */ List<Long> getApplyDeptIdsByLoginUserId(Long userId); }