แก้บั้ก ออกรายงานแนบท้ายคำสั่ง

This commit is contained in:
Suphonchai Phoonsawat 2023-09-15 11:38:55 +07:00
parent a62e71268c
commit c983f0a32e
6 changed files with 4 additions and 4 deletions

View file

@ -306,7 +306,7 @@ namespace BMA.EHR.Application.Repositories.Commands
NewPositionLevel = p.PositionLevel == null ? "" : p.PositionLevel.Name,
NewPositionType = p.PositionType == null ? "" : p.PositionType.Name,
NewPositionNumber = p.PositionNumber == null ? "" : p.PositionNumber.Name,
NewSalary = p.Amount == null ? 0 : p.Amount.Value,
NewSalary = r.Amount == null ? 0 : r.Amount.Value,
AppointDate = p.RecruitDate == null ? "" : p.RecruitDate.Value.ToThaiFullDate3()
})
.ToList();
@ -363,7 +363,7 @@ namespace BMA.EHR.Application.Repositories.Commands
NewPositionLevel = p.PositionLevel == null ? "" : p.PositionLevel.Name,
NewPositionType = p.PositionType == null ? "" : p.PositionType.Name,
NewPositionNumber = p.PositionNumber == null ? "" : p.PositionNumber.Name,
NewSalary = p.Amount == null ? 0 : p.Amount.Value,
NewSalary = r.Amount == null ? 0 : r.Amount.Value,
AppointDate = p.RecruitDate == null ? "" : p.RecruitDate.Value.ToThaiFullDate3()
})
.ToList();
@ -485,7 +485,7 @@ namespace BMA.EHR.Application.Repositories.Commands
NewPositionLevel = p.PositionLevel == null ? "" : p.PositionLevel.Name,
NewPositionType = p.PositionType == null ? "" : p.PositionType.Name,
NewPositionNumber = p.PositionNumber == null ? "" : p.PositionNumber.Name,
NewSalary = p.Amount == null ? 0 : p.Amount.Value,
NewSalary = r.Amount == null ? 0 : r.Amount.Value,
AppointDate = p.RecruitDate == null ? "" : p.RecruitDate.Value.ToThaiFullDate3()
})
.ToList();
@ -649,7 +649,7 @@ namespace BMA.EHR.Application.Repositories.Commands
NewPositionLevel = p.PositionLevel == null ? "" : p.PositionLevel.Name,
NewPositionType = p.PositionType == null ? "" : p.PositionType.Name,
NewPositionNumber = p.PositionNumber == null ? "" : p.PositionNumber.Name,
NewSalary = p.Amount == null ? 0 : p.Amount.Value,
NewSalary = r.Amount == null ? 0 : r.Amount.Value,
AppointDate = p.RecruitDate == null ? "" : p.RecruitDate.Value.ToThaiFullDate3()
})
.ToList();