hsse界面优化
This commit is contained in:
parent
bfc46a7830
commit
4de6e7cad0
|
|
@ -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)
|
||||
{
|
||||
////总人数
|
||||
|
|
|
|||
Loading…
Reference in New Issue