This commit is contained in:
2021-09-07 11:10:20 +08:00
parent 8add136b66
commit 5ccec3cd9f
9 changed files with 186 additions and 119 deletions
+3 -1
View File
@@ -73,6 +73,7 @@ namespace BLL
join y in db.Project_ProjectUser on x.UserId equals y.UserId
where y.ProjectId == projectId && (x.UnitId == unitId || unitId == null)
&& (roleIds == null || roleList.Contains(y.RoleId)) && (strParam == null || x.UserName.Contains(strParam))
&& y.IsPost ==true
select new Model.UserItem
{
UserId = x.UserId,
@@ -142,6 +143,7 @@ namespace BLL
join z in db.Project_ProjectUnit on x.UnitId equals z.UnitId
where y.ProjectId == projectId && z.ProjectId == projectId && z.UnitType == unitType
&& (roleIds == null || roleList.Contains(y.RoleId)) && (strParam == null || x.UserName.Contains(strParam))
&& y.IsPost == true
select new Model.UserItem
{
UserId = x.UserId,
@@ -283,7 +285,7 @@ namespace BLL
{
var getDataLists = (from x in db.Sys_User
join y in db.Project_ProjectUser on x.UserId equals y.UserId
where y.ProjectId == projectId
where y.ProjectId == projectId
select new Model.UserItem
{
UserId = x.UserId,