From a25dada293057c760a4b021fd6d09442ae01f353 Mon Sep 17 00:00:00 2001 From: xiaju <1784803958@qq.com> Date: Mon, 9 Jun 2025 16:48:27 +0800 Subject: [PATCH] 1 --- SGGL/FineUIPro.Web/common/main_new.aspx.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SGGL/FineUIPro.Web/common/main_new.aspx.cs b/SGGL/FineUIPro.Web/common/main_new.aspx.cs index f2f7b278..32603c2e 100644 --- a/SGGL/FineUIPro.Web/common/main_new.aspx.cs +++ b/SGGL/FineUIPro.Web/common/main_new.aspx.cs @@ -184,7 +184,7 @@ namespace FineUIPro.Web.common // 质量管理人员(合并公司+项目级查询) var qualityQuery = db.Base_WorkPost .Where(x => x.IsCQMS == true) - .GroupJoin(db.SitePerson_Person.Where(x => x.IsUsed == true), + .GroupJoin(db.SitePerson_Person.Where(x => x.IsUsed == true && x.InTime < DateTime.Now && (x.OutTime == null || x.OutTime > DateTime.Now)), post => post.WorkPostId, person => person.WorkPostId, (post, persons) => new { post, persons })