代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
using FineUIPro;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices.ComTypes;
|
||||
using Model;
|
||||
|
||||
namespace BLL
|
||||
{
|
||||
@@ -23,7 +20,7 @@ namespace BLL
|
||||
/// 定义变量
|
||||
/// </summary>
|
||||
private static IQueryable<Model.Person_PersonContract> getDataLists = from x in Funs.DB.Person_PersonContract
|
||||
select x;
|
||||
select x;
|
||||
|
||||
/// <summary>
|
||||
/// 获取分页列表
|
||||
@@ -34,8 +31,8 @@ namespace BLL
|
||||
public static IEnumerable getListData(string personId, Grid Grid1)
|
||||
{
|
||||
var db1 = Funs.DB;
|
||||
var q= from x in db1.Person_PersonContract
|
||||
select x;
|
||||
var q = from x in db1.Person_PersonContract
|
||||
select x;
|
||||
IQueryable<Model.Person_PersonContract> getDataList = q.Where(x => x.PersonId == personId);
|
||||
count = getDataList.Count();
|
||||
if (count == 0)
|
||||
@@ -43,7 +40,7 @@ namespace BLL
|
||||
return null;
|
||||
}
|
||||
getDataList = SortConditionHelper.SortingAndPaging(getDataList, Grid1.SortField, Grid1.SortDirection, Grid1.PageIndex, Grid1.PageSize);
|
||||
|
||||
|
||||
return from x in getDataList
|
||||
select new
|
||||
{
|
||||
@@ -55,7 +52,7 @@ namespace BLL
|
||||
db1.Base_Project.First(u => u.ProjectId == x.ProjectId).ProjectName,
|
||||
x.LeadManId,
|
||||
x.Telephone,
|
||||
x.ContractType,
|
||||
x.ContractType,
|
||||
x.StartDate,
|
||||
x.EndDate,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user