diff --git a/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs b/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs index 5abe1422..f2c6a86f 100644 --- a/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs +++ b/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs @@ -3093,7 +3093,7 @@ namespace BMA.EHR.Application.Repositories.Commands positionType = placementProfile.posTypeName, positionLevel = placementProfile.posLevelName, refCommandNo = $"{command.CommandNo}/{command.CommandYear.ToInteger().ToThaiYear()}", - SalaryRef = "คำสั่งแต่งตั้ง คำสั่ง" + command.IssuerOrganizationName + "ที่ " + $"{command.CommandNo}/{command.CommandYear.ToInteger().ToThaiYear()} ลงวันที่ {command.CommandExcecuteDate!.Value.ToThaiFullDate3()}", + salaryRef = "คำสั่งแต่งตั้ง คำสั่ง" + command.IssuerOrganizationName + "ที่ " + $"{command.CommandNo}/{command.CommandYear.ToInteger().ToThaiYear()} ลงวันที่ {command.CommandExcecuteDate!.Value.ToThaiFullDate3()}", }); var _result = await _res.Content.ReadAsStringAsync(); } @@ -3248,7 +3248,7 @@ namespace BMA.EHR.Application.Repositories.Commands positionType = placementProfile.posTypeName, positionLevel = placementProfile.posLevelName, refCommandNo = $"{command.CommandNo}/{command.CommandYear.ToInteger().ToThaiYear()}", - SalaryRef = "คำสั่งย้าย คำสั่ง" + command.IssuerOrganizationName + "ที่ " + $"{command.CommandNo}/{command.CommandYear.ToInteger().ToThaiYear()} ลงวันที่ {command.CommandExcecuteDate!.Value.ToThaiFullDate3()}", + salaryRef = "คำสั่งย้าย คำสั่ง" + command.IssuerOrganizationName + "ที่ " + $"{command.CommandNo}/{command.CommandYear.ToInteger().ToThaiYear()} ลงวันที่ {command.CommandExcecuteDate!.Value.ToThaiFullDate3()}", }); var _result = await _res.Content.ReadAsStringAsync(); } @@ -5773,12 +5773,12 @@ namespace BMA.EHR.Application.Repositories.Commands var dataSend = command.Receivers.Select(x => new { - PersonId = x.RefPlacementProfileId, - Id = x.RefDisciplineId, - CommandAffectDate = command.CommandAffectDate, - CommandNo = command.CommandNo, - CommandYear = command.CommandYear.ToInteger().ToThaiYear(), - Detail = "คำสั่งลงโทษ ตัดเงินเดือน" + personId = x.RefPlacementProfileId, + id = x.RefDisciplineId, + commandAffectDate = command.CommandAffectDate, + commandNo = command.CommandNo, + commandYear = command.CommandYear.ToInteger().ToThaiYear(), + detail = "คำสั่งลงโทษ ตัดเงินเดือน" }); var _baseAPI = _configuration["API"];