ดึงฟีลเหตุผลรายงานแนบท้ายคำสั่งใหข้าราชการลาออกจากราชการ

This commit is contained in:
Suphonchai Phoonsawat 2023-09-19 16:46:44 +07:00
parent 7cb3581bf1
commit fb74743ce6
4 changed files with 6 additions and 1 deletions

View file

@ -725,6 +725,7 @@ namespace BMA.EHR.Application.Repositories.Commands
PositionNumber = p.PositionNumberOld,
ActiveDate = p.ActiveDate == null ? "" : p.ActiveDate.Value.ToThaiFullDate3(),
Salary = p.Profile.Salaries == null || p.Profile.Salaries.Count == 0 ? 0 : p.Profile.Salaries.OrderByDescending(x => x.Order).FirstOrDefault().Amount.Value,
Remark = p.Reason ?? ""
})
.ToList();

View file

@ -1,4 +1,6 @@
namespace BMA.EHR.Application.Responses.Reports
using System.Diagnostics.Contracts;
namespace BMA.EHR.Application.Responses.Reports
{
public class CommandType03Response
{

View file

@ -19,5 +19,7 @@
public double Salary { get; set; } = 0;
public string ActiveDate { get; set; } = string.Empty;
public string Remark { get; set; } = string.Empty;
}
}