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.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
//----------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结束----------