This commit is contained in:
2021-08-30 21:49:56 +08:00
parent 969c81925b
commit 8ce6070be5
110 changed files with 967 additions and 106 deletions
@@ -1133,6 +1133,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
getPerson.Telephone = persons[i].Telephone;
getPerson.IsUsed = persons[i].IsUsedName == "是" ? true : false;
getPerson.IsCardUsed = persons[i].IsCardUsedName == "是" ? true : false;
getPerson.IsCardNoOK = IDCardValid.CheckIDCard(persons[i].IdentityCard);
Funs.DB.SubmitChanges();
}
}
@@ -421,8 +421,13 @@ namespace FineUIPro.Web.HSSE.SitePerson
foreach (var item in getPerfomances)
{
content += "人员绩效【" + item.PersonPerfomanceCode + "】";
}
}
var getPerson = Funs.DB.SitePerson_Person.FirstOrDefault(x => x.PersonId == rowID && x.RealNameAddTime.HasValue);
if (getPerson != null)
{
content += "人员【" + getPerson.PersonName + "】已上传集团。";
}
if (!string.IsNullOrEmpty(content))
{
content += "中已使用该人员【" + name + "】!";