20220907特岗人员资质列表页面新增按是否在岗查询。

This commit is contained in:
2022-09-07 10:41:18 +08:00
parent fc4f47dbab
commit f5ab6ad44f
6 changed files with 59 additions and 17 deletions
+4 -4
View File
@@ -138,7 +138,7 @@ namespace BLL
{
var getDatas = from x in db.Person_Persons
join y in db.SitePerson_Person on x.PersonId equals y.PersonId
where y.ProjectId == projectId && y.States == Const.State_1 && x.RoleIds != null
where y.ProjectId == projectId && y.States == Const.State_1 && y.RoleIds != null
select new Model.UserItem
{
PersonId = x.PersonId,
@@ -241,7 +241,7 @@ namespace BLL
join y in db.SitePerson_Person on x.PersonId equals y.PersonId
join z in db.Project_ProjectUnit on x.UnitId equals z.UnitId
where y.ProjectId == projectId && z.ProjectId == projectId && z.UnitType == unitType && y.States == Const.State_1
&& (strParam == null || x.PersonName.Contains(strParam)) && x.RoleIds != null
&& (strParam == null || x.PersonName.Contains(strParam)) && y.RoleIds != null
select new Model.UserItem
{
PersonId = x.PersonId,
@@ -273,7 +273,7 @@ namespace BLL
join y in db.SitePerson_Person on x.PersonId equals y.PersonId
join z in db.Project_ProjectUnit on x.UnitId equals z.UnitId
where y.ProjectId == projectId && z.ProjectId == projectId && z.UnitType == unitType && y.States == Const.State_1
&& (strParam == null || x.PersonName.Contains(strParam)) && y.RoleIds.Contains(item) && x.RoleIds != null
&& (strParam == null || x.PersonName.Contains(strParam)) && y.RoleIds.Contains(item) && y.RoleIds != null
select new Model.UserItem
{
PersonId = x.PersonId,
@@ -450,7 +450,7 @@ namespace BLL
{
var getDatas = (from x in db.Person_Persons
join y in db.SitePerson_Person on x.PersonId equals y.PersonId
where y.ProjectId == projectId && y.States == Const.State_1 && x.RoleIds != null
where y.ProjectId == projectId && y.States == Const.State_1 && y.RoleIds != null
select new Model.UserItem
{
PersonId = x.PersonId,