feat(hjgl): 完善焊接任务与质量管理流程
This commit is contained in:
@@ -20,6 +20,8 @@ namespace BLL
|
||||
{
|
||||
var getUser = from x in db.SitePerson_Person
|
||||
join y in db.Person_Persons on x.IdentityCard equals y.IdentityCard
|
||||
join team in db.ProjectData_TeamGroup on x.TeamGroupId equals team.TeamGroupId into teamGroup
|
||||
from team in teamGroup.DefaultIfEmpty()
|
||||
where (y.Telephone == userInfo.Account || x.PersonName == userInfo.Account)
|
||||
&& (y.Password == Funs.EncryptionPassword(userInfo.Password)
|
||||
|| (x.IdentityCard != null && x.IdentityCard.Substring(x.IdentityCard.Length - 4) == userInfo.Password))
|
||||
@@ -35,6 +37,8 @@ namespace BLL
|
||||
IdentityCard = x.IdentityCard,
|
||||
Account = y.Telephone,
|
||||
UnitName = db.Base_Unit.First(u => u.UnitId == x.UnitId).UnitName,
|
||||
TeamGroupId = x.TeamGroupId,
|
||||
TeamGroupName = team == null ? string.Empty : team.TeamGroupName,
|
||||
LoginProjectName = db.Base_Project.First(u => u.ProjectId == x.ProjectId).ProjectName,
|
||||
Telephone = y.Telephone,
|
||||
WorkPostId = x.WorkPostId,
|
||||
@@ -1626,4 +1630,4 @@ namespace BLL
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user