hsse界面优化

This commit is contained in:
李超 2026-04-25 11:58:13 +08:00
parent bfc46a7830
commit 4de6e7cad0
1 changed files with 5 additions and 2 deletions

View File

@ -56,8 +56,11 @@ namespace FineUIPro.Web
// int AllCount = getEmployInOutRecords.Count();
var getallin = APIPageDataService.getPersonNum(ProjectId, DateTime.Now);
int AllCount = getallin.Count();
//int AllCount = getallin.Count();
var AllCount = (from x in Funs.DB.T_d_EmployInOutRecord
join y in Funs.DB.SitePerson_Person on new { ss1 = x.ProjectId, ss = x.IDCardNo } equals new { ss1 = y.ProjectId, ss = y.IdentityCard }
where y.ProjectId == this.CurrUser.LoginProjectId && y.IsUsed == true && x.ProjectId == this.CurrUser.LoginProjectId && x.RecordDate.Value == DateTime.Now.Date
select x.IDCardNo).Distinct().Count();
if (AllCount > 0)
{
////总人数