20240531 质量策划

This commit is contained in:
2024-05-31 16:17:04 +08:00
parent 7be591cb7c
commit 864ba2551b
55 changed files with 8802 additions and 750 deletions
+12 -2
View File
@@ -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();
}
}
}