แก้รายงานเครื่องราชย์ + ปรับ api call profileById ไปใช้ api ใหม่
This commit is contained in:
parent
02c5d5b6ca
commit
8f318e62da
3 changed files with 594 additions and 592 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -450,7 +450,7 @@ namespace BMA.EHR.Application.Repositories
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var apiPath = $"{_configuration["API"]}/org/profile/{id}";
|
var apiPath = $"{_configuration["API"]}/org/dotnet/profile/{id}";
|
||||||
|
|
||||||
var apiResult = GetExternalAPIAsync(apiPath, accessToken ?? "");
|
var apiResult = GetExternalAPIAsync(apiPath, accessToken ?? "");
|
||||||
if (apiResult.Result != null)
|
if (apiResult.Result != null)
|
||||||
|
|
|
||||||
|
|
@ -90,6 +90,8 @@ namespace BMA.EHR.Application.Responses.Profiles
|
||||||
public string PositionLevel { get; set; } = string.Empty;
|
public string PositionLevel { get; set; } = string.Empty;
|
||||||
|
|
||||||
public string PositionType { get; set; } = string.Empty;
|
public string PositionType { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
public string Position { get; set; } = string.Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class ProfileInsignia
|
public class ProfileInsignia
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue