2023-10-19
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user