fix ยศไม่แสดงในระบบทะเบียนประวัติหลังออกคำสั่งรับโอนเสร็จสิ้น #2469

This commit is contained in:
harid 2026-05-15 17:14:50 +07:00
parent 76697c4f63
commit 6e5284b3c7

View file

@ -1140,7 +1140,7 @@ namespace BMA.EHR.Placement.Service.Controllers
{
bodyProfile = new
{
rank = string.Empty,
rank = string.IsNullOrEmpty(p.rank) ? string.Empty : p.rank,
prefix = p.prefix == null ? string.Empty : p.prefix,
firstName = p.firstName == null ? string.Empty : p.firstName,
lastName = p.lastName == null ? string.Empty : p.lastName,
@ -1222,7 +1222,6 @@ namespace BMA.EHR.Placement.Service.Controllers
}).ToList();
var baseAPIOrg = _configuration["API"];
//var apiUrlOrg = $"{baseAPIOrg}/org/command/excexute/salary-current";
var apiUrlOrg = $"{_configuration["API"]}/org/command/excexute/create-officer-profile";
using (var client = new HttpClient())
{