提交代码
This commit is contained in:
parent
d902056b7e
commit
d8cd15555d
|
|
@ -37,7 +37,9 @@ namespace BLL
|
|||
/// <returns></returns>
|
||||
public static IEnumerable getListData(string projectId, string personName, Grid Grid1)
|
||||
{
|
||||
IQueryable<Model.SitePerson_Person> getDataList = getDataLists;
|
||||
var db1 = Funs.DB;
|
||||
IQueryable<Model.SitePerson_Person> getDataList = from x in db1.SitePerson_Person
|
||||
select x;
|
||||
if (!string.IsNullOrEmpty(projectId))
|
||||
{
|
||||
getDataList = getDataList.Where(e => e.ProjectId == projectId);
|
||||
|
|
@ -53,7 +55,7 @@ namespace BLL
|
|||
return null;
|
||||
}
|
||||
getDataList = SortConditionHelper.SortingAndPaging(getDataList, Grid1.SortField, Grid1.SortDirection, Grid1.PageIndex, Grid1.PageSize);
|
||||
var db1 = Funs.DB;
|
||||
|
||||
return from x in getDataList
|
||||
select new
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue