fix code
This commit is contained in:
parent
4cc57322c0
commit
f09cea096f
1 changed files with 4 additions and 0 deletions
|
|
@ -426,6 +426,10 @@ namespace BMA.EHR.Insignia.Service.Controllers
|
||||||
citizenId = x.CitizenId,
|
citizenId = x.CitizenId,
|
||||||
fullName = $"{x.Prefix}{x.FirstName} {x.LastName}",
|
fullName = $"{x.Prefix}{x.FirstName} {x.LastName}",
|
||||||
root = x.Root,
|
root = x.Root,
|
||||||
|
child1 = x.Child1 ?? "",
|
||||||
|
child2 = x.Child2 ?? "",
|
||||||
|
child3 = x.Child3 ?? "",
|
||||||
|
child4 = x.Child4 ?? "",
|
||||||
dateAppoint = x.DateAppoint == null ? "" : x.DateAppoint.Value.ToThaiShortDate(),
|
dateAppoint = x.DateAppoint == null ? "" : x.DateAppoint.Value.ToThaiShortDate(),
|
||||||
salary = x.Amount,
|
salary = x.Amount,
|
||||||
salaryCondition = x.ProfileSalary == null || x.ProfileSalary.Count == 0 ? 0 :
|
salaryCondition = x.ProfileSalary == null || x.ProfileSalary.Count == 0 ? 0 :
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue