2023-10-19

This commit is contained in:
2023-10-19 21:44:34 +08:00
parent c90f8f4cba
commit 3f9510cede
13 changed files with 250 additions and 329 deletions
+3 -6
View File
@@ -623,9 +623,8 @@ namespace BLL
list = (from x in db.Sys_User
join y in db.Project_ProjectUser
on x.UserId equals y.UserId
join z in db.Base_Depart on x.DepartId equals z.DepartId
where y.ProjectId == projectId && x.UnitId == unitId && x.IsPost == true && y.IsPost == true && x.UserId != notCopyManId
orderby z.DepartCode, x.UserName
orderby x.UserName
select x).ToList();
}
else
@@ -633,9 +632,8 @@ namespace BLL
list = (from x in db.Sys_User
join y in db.Project_ProjectUser
on x.UserId equals y.UserId
join z in db.Base_Depart on x.DepartId equals z.DepartId
where y.ProjectId == projectId && x.IsPost == true && y.IsPost == true && x.UserId != notCopyManId
orderby z.DepartCode, x.UserName
orderby x.UserName
select x).ToList();
}
@@ -643,9 +641,8 @@ namespace BLL
else
{
list = (from x in db.Sys_User
join z in db.Base_Depart on x.DepartId equals z.DepartId
where x.UnitId == unitId && x.IsPost == true && x.UserId != notCopyManId
orderby z.DepartCode, x.UserName
orderby x.UserName
select x).ToList();
}
return list;