parent
a4c629b9bd
commit
bcb7c7781c
10 changed files with 51 additions and 74 deletions
|
|
@ -541,12 +541,12 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
placementTransfer.PositionLevelOld = org.result.posLevelName;
|
||||
placementTransfer.PositionTypeOld = org.result.posTypeName;
|
||||
placementTransfer.PositionNumberOld = org.result.nodeShortName + org.result.posMasterNo;
|
||||
placementTransfer.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 + " ") +
|
||||
placementTransfer.OrganizationOld = (org.result.child4 == null ? "" : org.result.child4 + "\n") +
|
||||
(org.result.child3 == null ? "" : org.result.child3 + "\n") +
|
||||
(org.result.child2 == null ? "" : org.result.child2 + "\n") +
|
||||
(org.result.child1 == null ? "" : org.result.child1 + "\n") +
|
||||
(org.result.root == null ? "" : org.result.root);
|
||||
placementTransfer.OrganizationPositionOld = org.result.position + "\n" + placementTransfer.OrganizationOld;
|
||||
placementTransfer.OrganizationPositionOld = org.result.position + "\n" + (placementTransfer.PositionExecutiveOld == null ? "" : placementTransfer.PositionExecutiveOld + "\n") + placementTransfer.OrganizationOld;
|
||||
}
|
||||
await _context.PlacementTransfers.AddAsync(placementTransfer);
|
||||
await _context.SaveChangesAsync();
|
||||
|
|
@ -805,12 +805,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
{
|
||||
No = r.Sequence.ToString().ToThaiNumber(),
|
||||
FullName = $"{r.Prefix}{r.FirstName} {r.LastName}",
|
||||
OldOc = (p.PositionOld == null ? "" : $"{p.PositionOld}\n") +
|
||||
(p.child4Old == null ? "" : $"{p.child4Old}\n") +
|
||||
(p.child3Old == null ? "" : $"{p.child3Old}\n") +
|
||||
(p.child2Old == null ? "" : $"{p.child2Old}\n") +
|
||||
(p.child1Old == null ? "" : $"{p.child1Old}\n") +
|
||||
(p.rootOld == null ? "" : $"{p.rootOld}"),
|
||||
OldOc = p.OrganizationPositionOld,
|
||||
PositionType = p.PositionTypeOld == null ? "-" : p.PositionTypeOld,
|
||||
PositionLevel = p.PositionLevelOld == null ? "-" : p.PositionLevelOld,
|
||||
PositionNumber = p.PositionNumberOld == null ? "-" : p.PositionNumberOld.ToThaiNumber(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue