20220908 人员列表修改
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user