代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
using FineUIPro;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Model;
|
||||
|
||||
namespace BLL
|
||||
{
|
||||
@@ -26,16 +23,16 @@ namespace BLL
|
||||
/// 定义变量
|
||||
/// </summary>
|
||||
private static IQueryable<Model.SitePerson_Person> getDataLists = from x in Funs.DB.SitePerson_Person
|
||||
select x;
|
||||
select x;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="projectId"></param>
|
||||
/// <param name="personName"></param>
|
||||
/// <param name="Grid1"></param>
|
||||
/// <returns></returns>
|
||||
public static IEnumerable getListData(string projectId, string personName, Grid Grid1)
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="projectId"></param>
|
||||
/// <param name="personName"></param>
|
||||
/// <param name="Grid1"></param>
|
||||
/// <returns></returns>
|
||||
public static IEnumerable getListData(string projectId, string personName, Grid Grid1)
|
||||
{
|
||||
var db1 = Funs.DB;
|
||||
IQueryable<Model.SitePerson_Person> getDataList = from x in db1.SitePerson_Person
|
||||
@@ -48,14 +45,14 @@ namespace BLL
|
||||
{
|
||||
getDataList = getDataList.Where(e => e.PersonName.Contains(personName));
|
||||
}
|
||||
|
||||
|
||||
count = getDataList.Count();
|
||||
if (count == 0)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
getDataList = SortConditionHelper.SortingAndPaging(getDataList, Grid1.SortField, Grid1.SortDirection, Grid1.PageIndex, Grid1.PageSize);
|
||||
|
||||
|
||||
return from x in getDataList
|
||||
select new
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user