Compare commits

..

No commits in common. "fbc54e00b25a66e9b47dc67285e95e178a61d310" and "ca6d4aa7b87bb307c8c752fe904938e5907816e6" have entirely different histories.

1 changed files with 1 additions and 3 deletions

View File

@ -18,11 +18,9 @@ namespace BLL
{
List<Model.PageDataPersonInOutItem> getSiteInOutList = new List<Model.PageDataPersonInOutItem>();
var getDayAll = from x in db.SitePerson_PersonInOutNow
join y in db.SitePerson_Person on x.PersonId equals y.PersonId
join z in db.Base_WorkPost on y.WorkPostId equals z.WorkPostId
where x.ProjectId == projectId && x.ChangeTime.Value.Year == dateValue.Year && x.ChangeTime.Value.Month == dateValue.Month
&& x.ChangeTime.Value.Day == dateValue.Day
select new { x.PersonId, x.ChangeTime, x.IsIn, z.PostType };
select x;
if (getDayAll.Count() > 0)
{
var getInMaxs = from x in getDayAll