提交首页修改

This commit is contained in:
2022-12-20 17:45:42 +08:00
parent 12a490ab94
commit bb65f0d461
196 changed files with 81389 additions and 24 deletions
@@ -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)
{