From e87f7f97ca1dd374e6b856fa9729a25a410060b8 Mon Sep 17 00:00:00 2001 From: xiaju <1784803958@qq.com> Date: Fri, 9 May 2025 11:20:03 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9C=8B=E6=9D=BF=E7=8E=B0=E5=9C=BA=E4=BA=BA?= =?UTF-8?q?=E6=95=B0=E6=B1=87=E6=80=BB=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SGGL/FineUIPro.Web/common/mainProject2.aspx.cs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/SGGL/FineUIPro.Web/common/mainProject2.aspx.cs b/SGGL/FineUIPro.Web/common/mainProject2.aspx.cs index 71282ffe..16acbcea 100644 --- a/SGGL/FineUIPro.Web/common/mainProject2.aspx.cs +++ b/SGGL/FineUIPro.Web/common/mainProject2.aspx.cs @@ -254,14 +254,11 @@ namespace FineUIPro.Web.common { int AllCount = 0; int MCount = 0; - //修改日期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 + join z in Funs.DB.Base_WorkPost on x.PostId equals z.WorkPostId into zGroup + from z in zGroup.DefaultIfEmpty() where x.ProjectId == this.CurrUser.LoginProjectId && x.RecordDate.Value == DateTime.Now.Date - select new { z.PostType }; + select new {x.IDCardNo, z.PostType }; AllCount = getallin.Count(); if (AllCount > 0)