This commit is contained in:
gaofei
2022-06-14 18:22:16 +08:00
4 changed files with 14 additions and 6 deletions
+2 -1
View File
@@ -470,7 +470,8 @@ namespace BLL
List<string> unitIdList = Funs.GetStrListByStr(unitIds, ',');
var getPersons = from x in db.View_SitePerson_Person
where x.ProjectId == projectId && unitIdList.Contains(x.UnitId) && x.IsUsed == true
&& x.InTime <= DateTime.Now && (!x.OutTime.HasValue || x.OutTime >= DateTime.Now)
//&& x.InTime <= DateTime.Now
&& (!x.OutTime.HasValue || x.OutTime >= DateTime.Now)
select new Model.PersonItem
{
PersonId = x.PersonId,