集团数据对接

This commit is contained in:
2025-06-26 14:16:26 +08:00
parent c4f1ae6768
commit fa41b65ed4
6 changed files with 240 additions and 84 deletions
@@ -1809,7 +1809,7 @@ namespace BLL
join y in Funs.DB.QualityAudit_PersonQuality on x.PersonId equals y.PersonId
join m in Funs.DB.Base_WorkPost on p.WorkPostId equals m.WorkPostId into mGroup
from m in mGroup.DefaultIfEmpty()
where BeUnderConstructionList.Contains(p.ProjectId) && p.IsUsed == true && m.PostType == Const.PostType_2 && (x.LimitDate == null || x.LimitDate < DateTime.Now)
where BeUnderConstructionList.Contains(p.ProjectId) && p.IsUsed == true && m.PostType == Const.PostType_2 && (x.LimitDate == null || x.LimitDate > DateTime.Now)
select new Model.OfSafetySupervisorsOutput
{
ProjectId = p.ProjectId,