20240531 质量策划
This commit is contained in:
@@ -624,7 +624,7 @@ namespace BLL
|
||||
join y in db.Project_ProjectUser
|
||||
on x.UserId equals y.UserId
|
||||
where y.ProjectId == projectId && x.UnitId == unitId && x.IsPost == true && y.IsPost == true && x.UserId != notCopyManId
|
||||
orderby x.UserName
|
||||
orderby x.UserName
|
||||
select x).ToList();
|
||||
}
|
||||
else
|
||||
@@ -633,7 +633,7 @@ namespace BLL
|
||||
join y in db.Project_ProjectUser
|
||||
on x.UserId equals y.UserId
|
||||
where y.ProjectId == projectId && x.IsPost == true && y.IsPost == true && x.UserId != notCopyManId
|
||||
orderby x.UserName
|
||||
orderby x.UserName
|
||||
select x).ToList();
|
||||
}
|
||||
|
||||
@@ -1610,5 +1610,15 @@ namespace BLL
|
||||
return list;
|
||||
}
|
||||
}
|
||||
|
||||
public static List<string> GetUserNameListsByWorkPostName(string projectId, string workPostName)
|
||||
{
|
||||
return (from x in Funs.DB.View_ProjectUserWorkPost where x.ProjectId == projectId && x.WorkPostName == workPostName select x.UserName).ToList();
|
||||
}
|
||||
|
||||
public static List<string> GetUserNameListsByUnitIdWorkPostName(string projectId,string unitId, string workPostName)
|
||||
{
|
||||
return (from x in Funs.DB.View_ProjectUserWorkPost where x.ProjectId == projectId && x.UnitId== unitId && x.WorkPostName == workPostName select x.UserName).ToList();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user