DeptServiceGetDirectChildrenIds Method

获取指定父部门的直接子部门的 Id(不递归,不含父部门 Id),且找到的 Id 将按照记录的 DisplayOrder 升序排序。

Definition

Namespace: QuickAdmin.Service.Admin
Assembly: QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 2.0.10
C#
public virtual IList<long> GetDirectChildrenIds(
	long? parentId
)

Parameters

parentId  long?
父部门 Idnull 表示查询顶层部门。

Return Value

IListlong
按照 DisplayOrder 升序排序的子纪录 Id 列表。若未找到返回一个 Count 为 0 的列表。

Implements

IDeptServiceGetDirectChildrenIds(long?)

Remarks

parentIdnull 时返回顶层部门 Id 列表。

See Also