双重预防项目-国泰新华二开定制版
heheng
2025-06-19 46c37398a52d1dcf81788960ec90faa91249e77f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.ruoyi.doublePrevention.repository;
 
import com.ruoyi.doublePrevention.entity.DoublePreventDept;
import org.springframework.stereotype.Repository;
 
import java.util.List;
 
@Repository
public interface DoublePreventDeptRepository {
 
    /**
     * @description 根据部门id查询部门
     */
    DoublePreventDept getDepInfoByDepId(Long depId);
 
    /**
     * @description 根据当前部门的祖级列表获取子部门的deptId
     */
    List<Long> listDepAndSubDepIds(String ancestors);
}