20220908 人员列表修改

This commit is contained in:
2022-09-08 17:43:46 +08:00
parent f38675c06a
commit e0f256688a
7 changed files with 139 additions and 6 deletions
+10
View File
@@ -1,5 +1,6 @@
using FineUIPro;
using Model;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
@@ -710,6 +711,15 @@ namespace BLL
{
SetProjectPersonUnit(person);
}
/// 人员不在职位,当前人所在项目 都出场
if (person.IsPost == false)
{
var getSitePersons = from x in db.SitePerson_Person where x.PersonId == person.PersonId && x.States != Const.ProjectPersonStates_2 select x;
foreach (var item in getSitePersons)
{
SitePerson_PersonService.SetSitePerson_PersonStates(item.SitePersonId, Const.ProjectPersonStates_2, DateTime.Now);
}
}
}
}
}