This commit is contained in:
parent
8c85a5f15e
commit
d3bb05f05d
|
|
@ -41,7 +41,9 @@ namespace BLL
|
|||
/// <returns></returns>
|
||||
public static IEnumerable getListData(string projetcId, string unitId, string departId, string workPostId, string name, string idCard, string states, string personType, Grid Grid1)
|
||||
{
|
||||
IQueryable<Model.View_SitePerson_Person> getDataList = getDataLists;
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
IQueryable<Model.View_SitePerson_Person> getDataList = from x in db.View_SitePerson_Person
|
||||
select x;
|
||||
if (!string.IsNullOrEmpty(projetcId) && projetcId != Const._Null)
|
||||
{
|
||||
getDataList = getDataList.Where(e => e.ProjectId == projetcId);
|
||||
|
|
@ -94,7 +96,7 @@ namespace BLL
|
|||
x.WorkPostId,
|
||||
x.WorkPostName,
|
||||
x.ProjectId,
|
||||
ProjectName = Funs.DB.Base_Project.First(u => u.ProjectId == x.ProjectId).ShortName,
|
||||
ProjectName = db.Base_Project.First(u => u.ProjectId == x.ProjectId).ShortName,
|
||||
NativePlace = x.CountryName ?? "" + x.ProvinceName ?? "",
|
||||
x.TeamGroupId,
|
||||
x.TeamGroupName,
|
||||
|
|
|
|||
Loading…
Reference in New Issue