增加施工工程师

This commit is contained in:
2024-10-21 14:03:00 +08:00
parent 9b8821bf3a
commit 66d458026e
2 changed files with 7 additions and 1 deletions
@@ -1543,7 +1543,8 @@ namespace FineUIPro.Web.CQMS.Solution
on x.UnitId equals y.UnitId
join p in Funs.DB.Project_ProjectUser
on x.UserId equals p.UserId
where (p.RoleId.Contains(Const.ZBCNEngineer)|| p.RoleId.Contains(Const.HSSEEngineer))
where (p.RoleId.Contains(Const.ZBCNEngineer)|| p.RoleId.Contains(Const.HSSEEngineer)
|| p.RoleId.Contains(Const.SGEngineer))
&& y.UnitType == Const.ProjectUnitType_1 && p.ProjectId == CurrUser.LoginProjectId &&
y.ProjectId == CurrUser.LoginProjectId
select x);