项目人员 参与项目加在岗判断
This commit is contained in:
parent
29c4db2384
commit
dfd370a9b0
|
@ -27,6 +27,7 @@ namespace BLL
|
|||
projects = (from x in db.Project_ProjectUser
|
||||
join y in db.Base_Project on x.ProjectId equals y.ProjectId
|
||||
where x.UserId == userId && (y.ProjectState == null || y.ProjectState == BLL.Const.ProjectState_1)
|
||||
&& (x.IsPost == true || x.IsPost == null)
|
||||
select y).ToList();
|
||||
}
|
||||
|
||||
|
@ -45,7 +46,7 @@ namespace BLL
|
|||
{
|
||||
var projects = (from x in db.Project_ProjectUser
|
||||
join y in db.Base_Project on x.ProjectId equals y.ProjectId
|
||||
where x.UserId == userId
|
||||
where x.UserId == userId && (x.IsPost == true || x.IsPost == null)
|
||||
orderby y.ProjectCode
|
||||
select y).ToList();
|
||||
|
||||
|
|
Loading…
Reference in New Issue