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);
|
}
|