越来越顺了~~

This commit is contained in:
yubaolee
2017-11-30 17:47:41 +08:00
parent c026f263f8
commit 38cb16d9e7
25 changed files with 48 additions and 93 deletions

View File

@@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using OpenAuth.App.ViewModel;
using OpenAuth.App.Response;
using OpenAuth.Repository.Domain;
using OpenAuth.Repository.Interface;
@@ -99,10 +99,10 @@ namespace OpenAuth.App
/// 得到部门的所有子部门
/// <para>如果orgId为0表示取得所有部门</para>
/// </summary>
public GridData LoadAllChildren(string orgId)
public TableData LoadAllChildren(string orgId)
{
var query = GetSubOrgs(orgId);
return new GridData
return new TableData
{
data = query.ToList(),
count = query.Count(),