update report
Some checks failed
release-dev / release-dev (push) Failing after 10s

This commit is contained in:
kittapath 2025-01-08 19:20:29 +07:00
parent febc07623b
commit 74f05fccfe

View file

@ -78,7 +78,7 @@ namespace BMA.EHR.Report.Service.Controllers
// try // try
// { // {
// // Get avatar Image // // Get avatar Image
//var picContent = await _minIOExamService.DownloadFileAsync(avatar); var picContent = avatar == null ? null : await _minIOExamService.ImagesPath(avatar);
//var pictureBox = (Telerik.Reporting.PictureBox)report.Items["detailSection1"].Items["picAvatar"]; //var pictureBox = (Telerik.Reporting.PictureBox)report.Items["detailSection1"].Items["picAvatar"];
//pictureBox.Value = Image.FromStream(new MemoryStream(picContent.FileContent)); //pictureBox.Value = Image.FromStream(new MemoryStream(picContent.FileContent));
// } // }
@ -141,7 +141,7 @@ namespace BMA.EHR.Report.Service.Controllers
ContactRelations = candidate.GetType().GetProperty("ContactRelations").GetValue(candidate), ContactRelations = candidate.GetType().GetProperty("ContactRelations").GetValue(candidate),
ContactTel = candidate.GetType().GetProperty("ContactTel").GetValue(candidate), ContactTel = candidate.GetType().GetProperty("ContactTel").GetValue(candidate),
RegisterDate = candidate.GetType().GetProperty("RegisterDate").GetValue(candidate), RegisterDate = candidate.GetType().GetProperty("RegisterDate").GetValue(candidate),
Url = "https://bma-ehr.frappet.synology.me/assets/avatar_user-89f22423.jpg", Url = picContent ?? "https://bma-ehr.frappet.synology.me/assets/avatar_user-89f22423.jpg",
Careers = careers, Careers = careers,
}; };