parent
a4c629b9bd
commit
bcb7c7781c
10 changed files with 51 additions and 74 deletions
|
|
@ -411,7 +411,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
(org.result.child2 == null ? "" : org.result.child2 + "\n") +
|
||||
(org.result.child1 == null ? "" : org.result.child1 + "\n") +
|
||||
(org.result.root == null ? "" : org.result.root);
|
||||
placementOfficer.OrganizationPositionOld = org.result.position + "\n" + placementOfficer.OrganizationOld;
|
||||
placementOfficer.OrganizationPositionOld = org.result.position + "\n" + (placementOfficer.PositionExecutiveOld == null ? "" : placementOfficer.PositionExecutiveOld + "\n") + placementOfficer.OrganizationOld;
|
||||
}
|
||||
await _context.PlacementOfficers.AddAsync(placementOfficer);
|
||||
await _context.SaveChangesAsync();
|
||||
|
|
@ -614,12 +614,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
{
|
||||
No = r.Sequence.ToString().ToThaiNumber(),
|
||||
FullName = $"{r.Prefix}{r.FirstName} {r.LastName}",
|
||||
PositionName = (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}"),
|
||||
PositionName = p.OrganizationPositionOld,
|
||||
Organization = p.Organization == null ? "" : p.Organization,
|
||||
StartDate = p.DateStart == null ? "" : p.DateStart.Value.ToThaiShortDate2().ToThaiNumber(),
|
||||
EndDate = p.DateEnd == null ? "" : p.DateEnd.Value.ToThaiShortDate2().ToThaiNumber(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue