This commit is contained in:
parent
18da306cdd
commit
a25dada293
|
@ -184,7 +184,7 @@ namespace FineUIPro.Web.common
|
||||||
// 质量管理人员(合并公司+项目级查询)
|
// 质量管理人员(合并公司+项目级查询)
|
||||||
var qualityQuery = db.Base_WorkPost
|
var qualityQuery = db.Base_WorkPost
|
||||||
.Where(x => x.IsCQMS == true)
|
.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,
|
post => post.WorkPostId,
|
||||||
person => person.WorkPostId,
|
person => person.WorkPostId,
|
||||||
(post, persons) => new { post, persons })
|
(post, persons) => new { post, persons })
|
||||||
|
|
Loading…
Reference in New Issue