This commit is contained in:
parent
eaa0147cb1
commit
48785fbdae
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue