修改人员信息详情页报错问题
This commit is contained in:
@@ -38,14 +38,16 @@ namespace BLL
|
||||
/// <returns></returns>
|
||||
public static IEnumerable getListData(string personId, Grid Grid1)
|
||||
{
|
||||
IQueryable<Model.QualityAudit_PersonQuality> getDataList = getDataLists.Where(x => x.PersonId == personId);
|
||||
var db1 = Funs.DB;
|
||||
IQueryable<Model.QualityAudit_PersonQuality> getDataList = (from x in db1.QualityAudit_PersonQuality
|
||||
select x).Where(x => x.PersonId == personId);
|
||||
count = getDataList.Count();
|
||||
if (count == 0)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user