hsse界面优化
This commit is contained in:
@@ -56,8 +56,11 @@ namespace FineUIPro.Web
|
|||||||
// int AllCount = getEmployInOutRecords.Count();
|
// int AllCount = getEmployInOutRecords.Count();
|
||||||
|
|
||||||
var getallin = APIPageDataService.getPersonNum(ProjectId, DateTime.Now);
|
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)
|
if (AllCount > 0)
|
||||||
{
|
{
|
||||||
////总人数
|
////总人数
|
||||||
|
|||||||
Reference in New Issue
Block a user