人员待审核状态

This commit is contained in:
2022-12-22 17:27:44 +08:00
parent d6b991a48d
commit 81de6657b5
5 changed files with 217 additions and 28 deletions
@@ -13,7 +13,7 @@ namespace FineUIPro.Web.common
if (!IsPostBack)
{
getEmployInOutRecords = Funs.DB.T_d_EmployInOutRecord.Where(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RecordDate.Value == DateTime.Now.Date).ToList();
getPersons = Funs.DB.SitePerson_Person.Where(x => x.ProjectId == this.CurrUser.LoginProjectId && x.IsUsed == true
getPersons = Funs.DB.SitePerson_Person.Where(x => x.ProjectId == this.CurrUser.LoginProjectId && x.IsUsed == 1
&& x.InTime <= DateTime.Now && (!x.OutTime.HasValue || x.OutTime > DateTime.Now)).ToList();
///当前现场总人数
getSitePerson();