You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
887 B
C#

1 year ago
//----------SysDept开始----------
using Admin.Core.Model.Sys;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Admin.Core.IRepository.ISys
{
/// <summary>
/// 部门表IRepository
/// </summary>
public interface ISysDeptRepository : IBaseRepository<SysDept>//类名
{
/// <summary>
/// 根据ID查询所有子部门正常状态
/// </summary>
/// <param name="deptId"> 部门ID </param>
/// <returns> 子部ID及当前选中节点部门ID的List </returns>
Task<List<int>> SelectNormalChildrenIDsById(int deptId);
/// <summary>
/// 获取所有子节点
/// </summary>
/// <param name="deptId"></param>
/// <returns></returns>
Task<List<SysDept>> SelectChildrenDeptById(int deptId);
}
}
//----------SysDept结束----------