提交首页修改

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
@@ -174,7 +174,7 @@ namespace WebAPI.Controllers
OutResult = person.OutResult,
Birthday = person.Birthday,
Telephone = person.Telephone,
IsUsed = (person.IsUsed == false ? false : true),
IsUsed = (person.IsUsed == false ? 0 : 1),
InTime = Funs.GetNewDateTimeOrNow(person.InTime),
Password = BLL.PersonService.GetPersonPassWord(person.IdentityCard),
Isprint = "0",
@@ -263,7 +263,7 @@ namespace WebAPI.Controllers
getPerson.OutResult = newPerson.OutResult;
getPerson.Birthday = newPerson.Birthday;
getPerson.Telephone = newPerson.Telephone;
getPerson.IsUsed = true;
getPerson.IsUsed = 1;
getPerson.InTime = newPerson.InTime;
if (!string.IsNullOrEmpty(newPerson.TeamGroupId))
{
@@ -332,7 +332,7 @@ namespace WebAPI.Controllers
where x.ProjectId == getProject.ProjectId && !x.ExchangeTime.HasValue
&& (!x.OutTime.HasValue || x.OutTime > DateTime.Now)
&& x.InTime.HasValue && x.InTime < DateTime.Now
&& x.IsUsed == true
&& x.IsUsed == 1
&& x.PhotoUrl != null
select new
{