提交首页修改
This commit is contained in:
@@ -59,7 +59,7 @@ namespace WebAPI.Controllers
|
||||
{
|
||||
var getPersons = from x in db.SitePerson_Person
|
||||
join y in db.Base_WorkPost on x.WorkPostId equals y.WorkPostId
|
||||
where x.ProjectId == projectId && y.PostType == Const.PostType_2 && x.IsUsed == true && (!x.OutTime.HasValue || x.OutTime > DateTime.Now)
|
||||
where x.ProjectId == projectId && y.PostType == Const.PostType_2 && x.IsUsed == 1 && (!x.OutTime.HasValue || x.OutTime > DateTime.Now)
|
||||
select x;
|
||||
if (isSub)
|
||||
{
|
||||
@@ -93,7 +93,7 @@ namespace WebAPI.Controllers
|
||||
{
|
||||
var getPersons = from x in db.SitePerson_Person
|
||||
join y in db.Base_WorkPost on x.WorkPostId equals y.WorkPostId
|
||||
where x.ProjectId == projectId && y.IsHsse ==true && x.IsUsed == true && (!x.OutTime.HasValue || x.OutTime > DateTime.Now)
|
||||
where x.ProjectId == projectId && y.IsHsse ==true && x.IsUsed == 1 && (!x.OutTime.HasValue || x.OutTime > DateTime.Now)
|
||||
select x;
|
||||
if (isSub)
|
||||
{
|
||||
@@ -127,7 +127,7 @@ namespace WebAPI.Controllers
|
||||
{
|
||||
var getPersons = from x in db.SitePerson_Person
|
||||
join y in db.Base_WorkPost on x.WorkPostId equals y.WorkPostId
|
||||
where x.ProjectId == projectId && y.PostType == Const.PostType_5 && x.IsUsed == true && (!x.OutTime.HasValue || x.OutTime >DateTime.Now)
|
||||
where x.ProjectId == projectId && y.PostType == Const.PostType_5 && x.IsUsed == 1 && (!x.OutTime.HasValue || x.OutTime >DateTime.Now)
|
||||
select x;
|
||||
if (isSub)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user