提交代码

This commit is contained in:
高飞 2025-02-10 11:33:17 +08:00
parent d902056b7e
commit d8cd15555d
1 changed files with 4 additions and 2 deletions

View File

@ -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
{