20221214项目劳务人员优化出入记录,新增操作日志页面呈现

This commit is contained in:
2022-12-14 14:55:56 +08:00
parent dbd41568b5
commit 944ee63433
11 changed files with 72 additions and 44 deletions
@@ -766,6 +766,14 @@ namespace BLL
}
db.SubmitChanges();
if (!setPersonItemInOut)
{
var getPItem = db.SitePerson_PersonItem.FirstOrDefault(x => x.ProjectId == person.ProjectId && x.IdentityCard == person.IdentityCard);
if (getPItem == null)
{
setPersonItemInOut = true;
}
}
if (setPersonItemInOut)
{
////现场人员项目出入场记录