关键事项
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web.Security;
|
||||
using Model;
|
||||
|
||||
public static class ProjectUserService
|
||||
@@ -39,9 +40,9 @@
|
||||
///获取项目用户信息 根据用户角色ID
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static List<Project_ProjectUser> GetProjectUserByRoleId(string roleId)
|
||||
public static List<Project_ProjectUser> GetProjectUserByRoleId(string projectId, string roleId)
|
||||
{
|
||||
return (from x in Funs.DB.Project_ProjectUser where x.RoleId.Contains(roleId) select x).ToList();
|
||||
return (from x in Funs.DB.Project_ProjectUser where x.ProjectId == projectId && x.RoleId.Contains(roleId) select x).ToList();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user