1
This commit is contained in:
@@ -123,7 +123,8 @@ namespace FineUIPro.Web.HSSE.SitePerson
|
||||
{
|
||||
foreach (var item in this.drpPerson.Values)
|
||||
{
|
||||
var person = BLL.PersonService.GetPersonById(item);
|
||||
Model.SitePerson_Person person = Funs.DB.SitePerson_Person.FirstOrDefault(x => x.PersonId == item);
|
||||
// var person = BLL.PersonService.GetPersonById(item);
|
||||
if (person != null)
|
||||
{
|
||||
if (this.drpToUnit.SelectedValue == "0")//如果新单位选择其他,则置空该人员单位
|
||||
@@ -142,7 +143,8 @@ namespace FineUIPro.Web.HSSE.SitePerson
|
||||
{
|
||||
person.TeamGroupId = null;
|
||||
}
|
||||
BLL.PersonService.UpdatePerson(person);
|
||||
Funs.DB.SubmitChanges();
|
||||
// BLL.PersonService.UpdatePerson(person);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user