Merge branch 'develop' of github.com:Frappet/BMA-EHR-Report-Service into develop

This commit is contained in:
kittapath-Jool 2025-09-09 14:59:05 +07:00
commit f35d7cb6e7

View file

@ -113,6 +113,8 @@ namespace BMA.EHR.Report.Service.Controllers
AuthPosition = position
})
.FirstOrDefaultAsync();
if (data == null)
return Error("ไม่พบข้อมูลในระบบ");
var rptFile = Path.Combine(_hostingEnvironment.ContentRootPath, "Report", "Recruit", $"rptCertificate{type}.trdp");
ReportPackager reportPackager = new ReportPackager();