1
This commit is contained in:
@@ -17,11 +17,6 @@ namespace BLL
|
|||||||
set;
|
set;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 定义变量
|
|
||||||
/// </summary>
|
|
||||||
private static IQueryable<Model.SitePerson_PersonItem> getDataLists = from x in Funs.DB.SitePerson_PersonItem select x;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取分页列表
|
/// 获取分页列表
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -36,6 +31,8 @@ namespace BLL
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public static IEnumerable getListData(string projectId, string unitId, string personId, string name, string idCard, DateTime? startDate, DateTime? endDate, Grid Grid1)
|
public static IEnumerable getListData(string projectId, string unitId, string personId, string name, string idCard, DateTime? startDate, DateTime? endDate, Grid Grid1)
|
||||||
{
|
{
|
||||||
|
Model.SGGLDB db = Funs.DB;
|
||||||
|
var getDataLists = from x in db.SitePerson_PersonItem select x;
|
||||||
IQueryable<Model.SitePerson_PersonItem> getDataList = getDataLists.Where(e => e.PersonId == personId);
|
IQueryable<Model.SitePerson_PersonItem> getDataList = getDataLists.Where(e => e.PersonId == personId);
|
||||||
if (!string.IsNullOrEmpty(projectId) && projectId != Const._Null)
|
if (!string.IsNullOrEmpty(projectId) && projectId != Const._Null)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user