update placement and retire
This commit is contained in:
parent
b528f0a81d
commit
706edbd0f0
32 changed files with 282 additions and 32 deletions
|
|
@ -376,6 +376,8 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
|||
posLevelRank = profile.posLevelRank,
|
||||
posExecutiveId = profile.posExecutiveId,
|
||||
posExecutiveName = profile.posExecutiveName,
|
||||
positionExecutiveField = profile.positionExecutiveField,
|
||||
positionArea = profile.positionArea,
|
||||
posNo = profile.posNo,
|
||||
CreatedFullName = FullName ?? "System Administrator",
|
||||
CreatedUserId = UserId ?? "",
|
||||
|
|
@ -419,6 +421,8 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
|||
posLevelRank = profile.posLevelRank,
|
||||
posExecutiveId = profile.posExecutiveId,
|
||||
posExecutiveName = profile.posExecutiveName,
|
||||
positionExecutiveField = profile.positionExecutiveField,
|
||||
positionArea = profile.positionArea,
|
||||
posNo = profile.posNo,
|
||||
CreatedFullName = FullName ?? "System Administrator",
|
||||
CreatedUserId = UserId ?? "",
|
||||
|
|
@ -479,6 +483,8 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
|||
posLevelRank = x.posLevelRank,
|
||||
posExecutiveId = x.posExecutiveId,
|
||||
posExecutiveName = x.posExecutiveName,
|
||||
positionExecutiveField = x.positionExecutiveField,
|
||||
positionArea = x.positionArea,
|
||||
posNo = x.posNo,
|
||||
})
|
||||
.ToListAsync();
|
||||
|
|
@ -574,6 +580,8 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
|||
posLevelRank = profileOld.posLevelRank,
|
||||
posExecutiveId = profileOld.posExecutiveId,
|
||||
posExecutiveName = profileOld.posExecutiveName,
|
||||
positionExecutiveField = profileOld.positionExecutiveField,
|
||||
positionArea = profileOld.positionArea,
|
||||
posNo = profileOld.posNo,
|
||||
CreatedFullName = FullName ?? "System Administrator",
|
||||
CreatedUserId = UserId ?? "",
|
||||
|
|
@ -636,6 +644,8 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
|||
posLevelRank = profileOld.posLevelRank,
|
||||
posExecutiveId = profileOld.posExecutiveId,
|
||||
posExecutiveName = profileOld.posExecutiveName,
|
||||
positionExecutiveField = profileOld.positionExecutiveField,
|
||||
positionArea = profileOld.positionArea,
|
||||
posNo = profileOld.posNo,
|
||||
CreatedFullName = FullName ?? "System Administrator",
|
||||
CreatedUserId = UserId ?? "",
|
||||
|
|
@ -681,6 +691,8 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
|||
positionType = x.posTypeName,
|
||||
positionLevel = x.posLevelName,
|
||||
positionExecutive = x.posExecutiveName,
|
||||
positionExecutiveField = x.positionExecutiveField,
|
||||
positionArea = x.positionArea,
|
||||
posNo = x.posNo,
|
||||
})
|
||||
.ToListAsync();
|
||||
|
|
@ -791,6 +803,8 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
|||
posTypeName = x.posTypeName,
|
||||
posLevelName = x.posLevelName,
|
||||
posExecutiveName = x.posExecutiveName,
|
||||
positionExecutiveField = x.positionExecutiveField,
|
||||
positionArea = x.positionArea,
|
||||
posNo = x.posNo,
|
||||
// positionEmployeePosition = x.Profile.PositionEmployeePosition == null ? null : x.Profile.PositionEmployeePosition.Name,
|
||||
// positionEmployeeLevel = x.Profile.PositionEmployeeLevel == null ? null : x.Profile.PositionEmployeeLevel.Name,
|
||||
|
|
@ -976,6 +990,8 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
|||
data.posLevelRank = org.result.posLevelRank;
|
||||
data.posExecutiveId = org.result.posExecutiveId;
|
||||
data.posExecutiveName = org.result.posExecutiveName;
|
||||
data.positionExecutiveField = org.result.positionExecutiveField;
|
||||
data.positionArea = org.result.positionArea;
|
||||
data.posNo = org.result.posNo;
|
||||
|
||||
dataRaw.profileId = org.result.profileId;
|
||||
|
|
@ -1008,6 +1024,8 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
|||
dataRaw.posLevelRank = org.result.posLevelRank;
|
||||
dataRaw.posExecutiveId = org.result.posExecutiveId;
|
||||
dataRaw.posExecutiveName = org.result.posExecutiveName;
|
||||
dataRaw.positionExecutiveField = org.result.positionExecutiveField;
|
||||
dataRaw.positionArea = org.result.positionArea;
|
||||
dataRaw.posNo = org.result.posNo;
|
||||
|
||||
_context.RetirementProfiles.Add(data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue