2023-04-28
This commit is contained in:
@@ -174,11 +174,14 @@ namespace WebAPI.Controllers
|
||||
OutResult = person.OutResult,
|
||||
Birthday = person.Birthday,
|
||||
Telephone = person.Telephone,
|
||||
IsUsed = (person.IsUsed == false ? 0 : 1),
|
||||
InTime = Funs.GetNewDateTimeOrNow(person.InTime),
|
||||
Password = BLL.PersonService.GetPersonPassWord(person.IdentityCard),
|
||||
Isprint = "0",
|
||||
};
|
||||
if (!string.IsNullOrEmpty(person.IsUsed))
|
||||
{
|
||||
newPerson.IsUsed = int.Parse(person.IsUsed);
|
||||
}
|
||||
if (!string.IsNullOrEmpty(person.TeamGroupName) && !string.IsNullOrEmpty(newPerson.UnitId))
|
||||
{
|
||||
var getTeamGroup = TeamGroupService.getTeamGroupByTeamGroupName(getProject.ProjectId, newPerson.UnitId, person.TeamGroupName);
|
||||
|
||||
Reference in New Issue
Block a user