แก้โครงสร้างพ้นราชการ
This commit is contained in:
parent
18d75f4b04
commit
db712d586a
41 changed files with 125142 additions and 411 deletions
|
|
@ -178,6 +178,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
p.PositionLevelOld,
|
||||
p.PositionNumberOld,
|
||||
p.OrganizationPositionOld,
|
||||
p.PositionOld,
|
||||
p.DateRepatriation,
|
||||
})
|
||||
.FirstOrDefaultAsync();
|
||||
|
|
@ -249,6 +250,17 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
placementRepatriation.posTypeName = org.result.posTypeName;
|
||||
placementRepatriation.posLevelId = org.result.posLevelId;
|
||||
placementRepatriation.posLevelName = org.result.posLevelName;
|
||||
|
||||
placementRepatriation.PositionOld = org.result.position;
|
||||
placementRepatriation.PositionLevelOld = org.result.posLevelName;
|
||||
placementRepatriation.PositionTypeOld = org.result.posTypeName;
|
||||
placementRepatriation.PositionNumberOld = org.result.nodeShortName + org.result.posMasterNo;
|
||||
placementRepatriation.OrganizationOld = (org.result.child4 == null ? "" : org.result.child4 + "/") +
|
||||
(org.result.child3 == null ? "" : org.result.child3 + "/") +
|
||||
(org.result.child2 == null ? "" : org.result.child2 + "/") +
|
||||
(org.result.child1 == null ? "" : org.result.child1 + "/") +
|
||||
(org.result.root == null ? "" : org.result.root + "/");
|
||||
placementRepatriation.OrganizationPositionOld = org.result.position + "-" + placementRepatriation.OrganizationOld;
|
||||
}
|
||||
await _context.PlacementRepatriations.AddAsync(placementRepatriation);
|
||||
await _context.SaveChangesAsync();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue