diff --git a/SGGL/BLL/HSSE/SitePerson/SitePerson_CheckingService.cs b/SGGL/BLL/HSSE/SitePerson/SitePerson_CheckingService.cs index b887db98..34c43598 100644 --- a/SGGL/BLL/HSSE/SitePerson/SitePerson_CheckingService.cs +++ b/SGGL/BLL/HSSE/SitePerson/SitePerson_CheckingService.cs @@ -67,13 +67,13 @@ namespace BLL return null; } getDataList = SortConditionHelper.SortingAndPaging(getDataList, Grid1.SortField, Grid1.SortDirection, Grid1.PageIndex, Grid1.PageSize); - return from x in getDataList + return (from x in getDataList select new { x.CheckingId, x.ProjectId, x.UnitId, x.UnitName, x.PersonId, x.PersonName, x.CardNo, x.IdentityCard, x.WorkAreaId, x.WorkAreaName, x.IntoOut, x.IntoOutTime, x.Address, - }; + }).ToList(); } #endregion