คำสั่งที่สร้างทะเบียนประวัติส่ง key รูปภาพที่อยู่บน s3 เพิ่ม #911, #1183
Some checks failed
release-dev / release-dev (push) Failing after 10s

This commit is contained in:
Bright 2025-07-07 14:34:44 +07:00
parent f2d01b8505
commit c348dae155
2 changed files with 4 additions and 0 deletions

View file

@ -2066,6 +2066,7 @@ namespace BMA.EHR.Placement.Service.Controllers
var placementProfile = await _context.PlacementProfiles
.Include(x => x.PlacementCertificates)
.Include(x => x.PlacementEducations)
.Include(x => x.ProfileImg)
.Where(x => req.refIds.Select(x => x.refId).Contains(x.Id.ToString()))
.ToListAsync();
@ -2118,6 +2119,7 @@ namespace BMA.EHR.Placement.Service.Controllers
currentZipCode = p.CurrentZipCode == null ? string.Empty : p.CurrentZipCode,
amount = r.amount,
amountSpecial = r.amountSpecial,
objectRefId = p.ProfileImg != null && p.ProfileImg?.ObjectRefId != null ? p.ProfileImg?.ObjectRefId.ToString("D") : null,
},
bodyEducations = p.PlacementEducations.Select(e => new
{