Merge branch 'master' of http://47.104.102.122:3000/panhf/CNCEC_SUBQHSE_WUHUAN
This commit is contained in:
		
						commit
						032ea39db9
					
				| 
						 | 
				
			
			@ -140,8 +140,16 @@ namespace FineUIPro.Web.common
 | 
			
		|||
        {
 | 
			
		||||
            int AllCount = 0;
 | 
			
		||||
            int MCount = 0;
 | 
			
		||||
            var getallin = APIPageDataService.getPersonNum(ProjectId, DateTime.Now);
 | 
			
		||||
            AllCount = getallin.Count();
 | 
			
		||||
            //修改日期2024-10-30 16:53:50 为了和另一个看板相同
 | 
			
		||||
            //Funs.DB.T_d_EmployInOutRecord.Where(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RecordDate.Value == DateTime.Now.Date)
 | 
			
		||||
            //var getallin = APIPageDataService.getPersonNum(ProjectId, DateTime.Now);
 | 
			
		||||
 | 
			
		||||
            var getallin = from x in Funs.DB.T_d_EmployInOutRecord
 | 
			
		||||
                           join z in Funs.DB.Base_WorkPost on x.PostId equals z.WorkPostId
 | 
			
		||||
                           where x.ProjectId == this.CurrUser.LoginProjectId && x.RecordDate.Value == DateTime.Now.Date
 | 
			
		||||
                           select new { z.PostType };
 | 
			
		||||
 | 
			
		||||
             AllCount = getallin.Count();
 | 
			
		||||
            if (AllCount > 0)
 | 
			
		||||
            {
 | 
			
		||||
                MCount = getallin.Where(x => x.PostType == Const.PostType_1).Count();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue