修复接口,增加参数

This commit is contained in:
2025-12-24 16:48:46 +08:00
parent 4f79c39f31
commit 07aa1370e2
3 changed files with 17 additions and 7 deletions
+3 -2
View File
@@ -1111,8 +1111,9 @@ namespace BLL
{
var query = from x in db.SitePerson_PersonInOut
join y in db.SitePerson_Person on x.PersonId equals y.PersonId
where x.ChangeTime >= filter.StartTime && x.ChangeTime <= filter.EndTime
select new Model.PersonInOutItem
join z in db.Base_Project on x.ProjectId equals z.ProjectId
where x.ChangeTime >= filter.StartTime && x.ChangeTime <= filter.EndTime && z.ProjectName.Contains(filter.ProjectName)
select new Model.PersonInOutItem
{
PersonId = x.PersonId,
PersonName = y.PersonName,