This commit is contained in:
parent
35d9449265
commit
f778c5df48
|
@ -52,9 +52,12 @@ namespace FineUIPro.Web
|
|||
/// </summary>
|
||||
private void getSitePerson()
|
||||
{
|
||||
//var getEmployInOutRecords = Funs.DB.T_d_EmployInOutRecord.Where(x => x.ProjectId == this.ProjectId && x.RecordDate.Value == DateTime.Now.Date).ToList();
|
||||
// int AllCount = getEmployInOutRecords.Count();
|
||||
|
||||
var getallin = APIPageDataService.getPersonNum(ProjectId, DateTime.Now);
|
||||
int AllCount = getallin.Count();
|
||||
|
||||
var getEmployInOutRecords = Funs.DB.T_d_EmployInOutRecord.Where(x => x.ProjectId == this.ProjectId && x.RecordDate.Value == DateTime.Now.Date).ToList();
|
||||
int AllCount = getEmployInOutRecords.Count();
|
||||
if (AllCount > 0)
|
||||
{
|
||||
////总人数
|
||||
|
|
|
@ -263,9 +263,7 @@ namespace FineUIPro.Web.common
|
|||
{
|
||||
int AllCount = 0;
|
||||
int MCount = 0;
|
||||
List<string> pids = new List<string>();
|
||||
pids.Add(this.CurrUser.LoginProjectId);
|
||||
var getallin = APIPageDataService.getPersonNum(pids, DateTime.Now);
|
||||
var getallin = APIPageDataService.getPersonNum(ProjectId, DateTime.Now);
|
||||
|
||||
//int AllCount = 0;
|
||||
//int MCount = 0;
|
||||
|
|
Loading…
Reference in New Issue