filter data null
This commit is contained in:
parent
fb217d59d0
commit
60054dc94f
1 changed files with 2 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue