รายงานสอบคัดเลือก
This commit is contained in:
parent
e98888ee3a
commit
58b890d6a5
2 changed files with 130 additions and 0 deletions
|
|
@ -236,6 +236,8 @@ namespace BMA.EHR.Report.Service.Controllers
|
|||
$"{p.RecruitImport.Name} ครั้งที่ {p.RecruitImport.Order}/{p.RecruitImport.Year.ToThaiYear()}",
|
||||
}).ToListAsync();
|
||||
|
||||
if (data.Count == 0) return Success();
|
||||
|
||||
var rptFile = Path.Combine(_hostingEnvironment.ContentRootPath, "Report", "Recruit", $"rptCandidateList.trdp");
|
||||
ReportPackager reportPackager = new ReportPackager();
|
||||
Telerik.Reporting.Report report = null;
|
||||
|
|
@ -329,6 +331,8 @@ namespace BMA.EHR.Report.Service.Controllers
|
|||
.Where(x => x.ExamResult == "ผ่าน")
|
||||
.ToListAsync();
|
||||
|
||||
if (data.Count == 0) return Success();
|
||||
|
||||
var rptFile = Path.Combine(_hostingEnvironment.ContentRootPath, "Report", "Recruit", $"rptPassExamList.trdp");
|
||||
ReportPackager reportPackager = new ReportPackager();
|
||||
Telerik.Reporting.Report report = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue