แก้ไฟล์ build

This commit is contained in:
Kittapath 2024-05-24 13:49:17 +07:00
parent 9fb82fb45a
commit d6573a6d0c
15 changed files with 1676 additions and 374 deletions

View file

@ -7,8 +7,8 @@ using Swashbuckle.AspNetCore.Annotations;
using Telerik.Reporting.Processing;
using Telerik.Reporting;
using BMA.EHR.Report.Service.Responses;
using BMA.EHR.Extensions;
using BMA.EHR.Core;
using BMA.EHR.Organization.Service.Extensions;
// using BMA.EHR.Core;
using System.Text;
namespace BMA.EHR.Report.Service.Controllers
@ -344,7 +344,7 @@ namespace BMA.EHR.Report.Service.Controllers
}).ToListAsync();
if (data.Count == 0)
return Error(GlobalMessages.DataNotFound);
return Error("ไม่พบข้อมูลในระบบ");
var rptFile = Path.Combine(_hostingEnvironment.ContentRootPath, "Report", "Recruit", $"rptCandidateList.trdp");
ReportPackager reportPackager = new ReportPackager();
@ -427,7 +427,7 @@ namespace BMA.EHR.Report.Service.Controllers
.ToListAsync();
if (data.Count == 0)
return Error(GlobalMessages.DataNotFound);
return Error("ไม่พบข้อมูลในระบบ");
var rptFile = Path.Combine(_hostingEnvironment.ContentRootPath, "Report", "Recruit", $"rptPassExamList.trdp");
ReportPackager reportPackager = new ReportPackager();
@ -496,7 +496,7 @@ namespace BMA.EHR.Report.Service.Controllers
.ToListAsync();
if (data.Count == 0)
return Error(GlobalMessages.DataNotFound);
return Error("ไม่พบข้อมูลในระบบ");
var rptFile = Path.Combine(_hostingEnvironment.ContentRootPath, "Report", "Recruit", $"rptPassExamList.trdp");
ReportPackager reportPackager = new ReportPackager();