20230724
This commit is contained in:
@@ -59,10 +59,9 @@ namespace BLL
|
||||
}
|
||||
if (!string.IsNullOrEmpty(projetcId) && projetcId != Const._Null)
|
||||
{
|
||||
getDataList = from x in getDataList
|
||||
join y in db.SitePerson_PersonItem on x.PersonId equals y.PersonId
|
||||
where y.ProjectId == projetcId && !y.OutTime.HasValue
|
||||
select x;
|
||||
var idLists=(from x in db.SitePerson_PersonItem where x.ProjectId == projetcId && !x.OutTime.HasValue
|
||||
select x.PersonId).Distinct().ToList();
|
||||
getDataList = getDataList.Where(x => idLists.Contains(x.PersonId));
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(personType) && personType != Const._Null)
|
||||
|
||||
Reference in New Issue
Block a user