This commit is contained in:
kittapath 2024-10-30 20:28:52 +07:00
parent aa0f00385a
commit 86edf00336
2 changed files with 16 additions and 2 deletions

View file

@ -333,6 +333,13 @@ namespace BMA.EHR.Report.Service.Controllers
CurrentProvince = data.Result.Profile.Count > 0 ? data.Result.Profile[0].CurrentProvince : "-",
Telephone = data.Result.Profile.Count > 0 ? data.Result.Profile[0].Telephone : "-",
Url = data.Result.Profile.Count > 0 ? data.Result.Profile[0].ImgUrl : "-",
Url1 = data.Result.Profile.Count > 0 ? data.Result.Profile[0].ImgUrl1 : null,
Url2 = data.Result.Profile.Count > 0 ? data.Result.Profile[0].ImgUrl2 : null,
Url3 = data.Result.Profile.Count > 0 ? data.Result.Profile[0].ImgUrl3 : null,
Url4 = data.Result.Profile.Count > 0 ? data.Result.Profile[0].ImgUrl4 : null,
Url5 = data.Result.Profile.Count > 0 ? data.Result.Profile[0].ImgUrl5 : null,
Url6 = data.Result.Profile.Count > 0 ? data.Result.Profile[0].ImgUrl6 : null,
Url7 = data.Result.Profile.Count > 0 ? data.Result.Profile[0].ImgUrl7 : null,
Insignias = data.Result.Insignia,
Leaves = data.Result.Leave,
Certs = data.Result.Cert,

View file

@ -60,6 +60,13 @@ namespace BMA.EHR.Report.Service.Responses
public string? CurrentDistrict { get; set; }
public string? CurrentProvince { get; set; }
public string? ImgUrl { get; set; }
public string? ImgUrl1 { get; set; }
public string? ImgUrl2 { get; set; }
public string? ImgUrl3 { get; set; }
public string? ImgUrl4 { get; set; }
public string? ImgUrl5 { get; set; }
public string? ImgUrl6 { get; set; }
public string? ImgUrl7 { get; set; }
}
public class Insignia