1
This commit is contained in:
@@ -38,7 +38,11 @@ namespace BLL
|
||||
/// <returns></returns>
|
||||
public static IEnumerable getListData(string workPostId, string postTitleId, string name, string certificateId, Grid Grid1)
|
||||
{
|
||||
IQueryable<Model.Person_Persons> getDataList = getDataLists;
|
||||
IQueryable<Model.Person_Persons> getDataList = from x in Funs.DB.Person_Persons
|
||||
where x.PersonId != Const.sysglyId && x.PersonId != Const.hfnbdId && x.UnitId == Const.UnitId_SEDIN
|
||||
&& x.DepartId == Const.Depart_constructionId
|
||||
&& x.CurrentProjectId == null && (!x.IsOffice.HasValue || x.IsOffice == false)
|
||||
select x;
|
||||
if (!string.IsNullOrEmpty(workPostId) && workPostId != Const._Null)
|
||||
{
|
||||
getDataList = getDataList.Where(e => e.WorkPostId == workPostId);
|
||||
|
||||
Reference in New Issue
Block a user