From 0b13d5ccf29762bc7a32346b84001504de68dc02 Mon Sep 17 00:00:00 2001 From: Kittapath Date: Thu, 4 Jul 2024 18:52:21 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B8=AD=E0=B8=AD?= =?UTF-8?q?=E0=B8=81=E0=B8=84=E0=B8=B3=E0=B8=AA=E0=B8=B1=E0=B9=88=E0=B8=87?= =?UTF-8?q?=E0=B8=A7=E0=B8=B4=E0=B8=99=E0=B8=B1=E0=B8=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Repositories/Commands/CommandRepository.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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"];