diff --git a/BMA.EHR.Application/Repositories/Reports/RetireReportRepository.cs b/BMA.EHR.Application/Repositories/Reports/RetireReportRepository.cs index 53f7141e..82eace7f 100644 --- a/BMA.EHR.Application/Repositories/Reports/RetireReportRepository.cs +++ b/BMA.EHR.Application/Repositories/Reports/RetireReportRepository.cs @@ -3,8 +3,6 @@ using BMA.EHR.Domain.Extensions; using BMA.EHR.Domain.Models.Retirement; using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; -//using Telerik.Reporting; -//using Telerik.Reporting.Processing; namespace BMA.EHR.Application.Repositories.Reports { @@ -123,27 +121,6 @@ namespace BMA.EHR.Application.Repositories.Reports return new { retire.Id, retire.CreatedAt, Year = retire.Year.ToThaiYear().ToString().ToThaiNumber(), retire.Round, retire.Type, retire.TypeReport, Total = profile_retire.Count.ToString().ToThaiNumber(), profile = profile_retire }; } - - //Report - //var rptFile = Path.Combine(_hostingEnvironment.ContentRootPath, "Reports", $"32-ประกาศเกษียณลูกจ้างประจำ.trdp"); - //ReportPackager reportPacker = new ReportPackager(); - //Telerik.Reporting.Report? report = null; - - //using (var sourceStream = System.IO.File.OpenRead(rptFile)) - //{ - // report = (Telerik.Reporting.Report)reportPacker.UnpackageDocument(sourceStream); - //} - - //System.Collections.Hashtable deviceInfo = new System.Collections.Hashtable(); - //InstanceReportSource instanceReportSource = new InstanceReportSource() - //{ - // ReportDocument = report, - //}; - - //ReportProcessor reportProcessor = new ReportProcessor(_configuration); - //RenderingResult result = reportProcessor.RenderReport("PDF", instanceReportSource, deviceInfo); - //var content = result.DocumentBytes; - //return File(content, "application/pdf", $"ประกาศเกษียณลูกจ้างประจำ_{null}.pdf"); } #endregion diff --git a/BMA.EHR.Report.Service/Controllers/RetireReportController.cs b/BMA.EHR.Report.Service/Controllers/RetireReportController.cs index 27b829c7..8508289a 100644 --- a/BMA.EHR.Report.Service/Controllers/RetireReportController.cs +++ b/BMA.EHR.Report.Service/Controllers/RetireReportController.cs @@ -2,6 +2,7 @@ using BMA.EHR.Domain.Extensions; using BMA.EHR.Application.Repositories.Reports; using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Authorization; using Swashbuckle.AspNetCore.Annotations; using Telerik.Reporting; using Telerik.Reporting.Processing; @@ -9,10 +10,10 @@ using Telerik.Reporting.Processing; namespace BMA.EHR.Report.Service.Controllers { [Route("api/v{version:apiVersion}/report/retire")] - [ApiVersion("1.0")] + [ApiVersion("2.0")] [ApiController] [Produces("application/json")] - //[Authorize] + [Authorize] [SwaggerTag("API รายงานระบบเกษียณ")] public class RetireReportController : BaseController { @@ -27,17 +28,58 @@ namespace BMA.EHR.Report.Service.Controllers _configuration = configuration; } + /// + /// รายงานหน้าประกาศเกษียณ + /// + /// Id ของรอบเกษียณ + /// + /// เมื่อทำการอ่านข้อมูลจาก Relational Database สำเร็จ + /// ไม่ได้ Login เข้าระบบ + /// เมื่อเกิดข้อผิดพลาดในการทำงาน [HttpGet("{Id}")] public async Task> GetProfileRetirement([FromRoute] Guid Id) { var retire = await _service.GetProfileRetirementdAsync(Id); if (retire == null) { - return NotFound(retire); + return NotFound(); } else { - var rptFile = Path.Combine(_hostingEnvironment.ContentRootPath, "Reports", $"32-ประกาศเกษียณลูกจ้างประจำ.trdp"); + var reportfile = ""; + var returnfile = ""; + switch (retire.GetType().GetProperty("Type").GetValue(retire)) + { + case "OFFICER": + if (retire.GetType().GetProperty("TypeReport").GetValue(retire) == "ADD") + { + reportfile = $"31-ประกาศเกษียณข้าราชการ-1.trdp"; + returnfile = $"ประกาศเกษียณข้าราชการ.pdf"; + } + else if (retire.GetType().GetProperty("TypeReport").GetValue(retire) == "EDIT") + { + reportfile = $"31-ประกาศเกษียณข้าราชการ-2.trdp"; + returnfile = $"แก้ไขประกาศเกษียณข้าราชการ.pdf"; + } + else if (retire.GetType().GetProperty("TypeReport").GetValue(retire) == "REMOVE") + { + reportfile = $"31-ประกาศเกษียณข้าราชการ-3.trdp"; + returnfile = $"ยกเลิกประกาศเกษียณข้าราชการ.pdf"; + } + else + { + return Error(retire.GetType().GetProperty("TypeReport").ToString()); + } + break; + case "EMPLOYEE": + reportfile = $"32-ประกาศเกษียณลูกจ้างประจำ.trdp"; + returnfile = $"ประกาศเกษียณลูกจ้าง"; + break; + default: + return BadRequest(retire); + } + + var rptFile = Path.Combine(_hostingEnvironment.ContentRootPath, "Reports", reportfile); ReportPackager reportPacker = new ReportPackager(); Telerik.Reporting.Report? report = null; using (var sourceStream = System.IO.File.OpenRead(rptFile)) @@ -63,12 +105,10 @@ namespace BMA.EHR.Report.Service.Controllers organizationOrganization = profile.GetType().GetProperty("organizationOrganization").GetValue(profile).ToString(), }); } - //Binding to Table var tblProfile = (Telerik.Reporting.Table)report.Items["detailSection1"].Items["table1"]; tblProfile.DataSource = _profileList; - System.Collections.Hashtable deviceInfo = new System.Collections.Hashtable(); InstanceReportSource instanceReportSource = new InstanceReportSource() { @@ -78,11 +118,8 @@ namespace BMA.EHR.Report.Service.Controllers ReportProcessor reportProcessor = new ReportProcessor(_configuration); RenderingResult result = reportProcessor.RenderReport("PDF", instanceReportSource, deviceInfo); var content = result.DocumentBytes; - return File(content, "application/pdf", $"ประกาศเกษียณลูกจ้างประจำ{null}.pdf"); + return File(content, "application/pdf", returnfile); } - //return Success(retire); } - - } } diff --git a/BMA.EHR.Report.Service/Reports/20-คำสั่งแต่งตั้งลูกจ้างชั่วคราวเป็นลูกจ้างประจำ-1.trdp b/BMA.EHR.Report.Service/Reports/20-คำสั่งแต่งตั้งลูกจ้างชั่วคราวเป็นลูกจ้างประจำ-1.trdp new file mode 100644 index 00000000..8ad5f6a6 Binary files /dev/null and b/BMA.EHR.Report.Service/Reports/20-คำสั่งแต่งตั้งลูกจ้างชั่วคราวเป็นลูกจ้างประจำ-1.trdp differ diff --git a/BMA.EHR.Report.Service/Reports/20-คำสั่งแต่งตั้งลูกจ้างชั่วคราวเป็นลูกจ้างประจำ-2.trdp b/BMA.EHR.Report.Service/Reports/20-คำสั่งแต่งตั้งลูกจ้างชั่วคราวเป็นลูกจ้างประจำ-2.trdp new file mode 100644 index 00000000..daa35a42 Binary files /dev/null and b/BMA.EHR.Report.Service/Reports/20-คำสั่งแต่งตั้งลูกจ้างชั่วคราวเป็นลูกจ้างประจำ-2.trdp differ diff --git a/BMA.EHR.Report.Service/Reports/20-คำสั่งแต่งตั้งลูกจ้างชั่วคราวเป็นลูกจ้างประจำ-3.trdp b/BMA.EHR.Report.Service/Reports/20-คำสั่งแต่งตั้งลูกจ้างชั่วคราวเป็นลูกจ้างประจำ-3.trdp new file mode 100644 index 00000000..336db1e0 Binary files /dev/null and b/BMA.EHR.Report.Service/Reports/20-คำสั่งแต่งตั้งลูกจ้างชั่วคราวเป็นลูกจ้างประจำ-3.trdp differ diff --git a/BMA.EHR.Report.Service/Reports/20-คำสั่งแต่งตั้งลูกจ้างชั่วคราวเป็นลูกจ้างประจำ-4.trdp b/BMA.EHR.Report.Service/Reports/20-คำสั่งแต่งตั้งลูกจ้างชั่วคราวเป็นลูกจ้างประจำ-4.trdp new file mode 100644 index 00000000..20c289ec Binary files /dev/null and b/BMA.EHR.Report.Service/Reports/20-คำสั่งแต่งตั้งลูกจ้างชั่วคราวเป็นลูกจ้างประจำ-4.trdp differ diff --git a/BMA.EHR.Report.Service/Reports/29-คำสั่งให้ช่วยราชการ-1.trdp b/BMA.EHR.Report.Service/Reports/29-คำสั่งให้ช่วยราชการ-1.trdp new file mode 100644 index 00000000..cf653bb4 Binary files /dev/null and b/BMA.EHR.Report.Service/Reports/29-คำสั่งให้ช่วยราชการ-1.trdp differ diff --git a/BMA.EHR.Report.Service/Reports/29-คำสั่งให้ช่วยราชการ-2.trdp b/BMA.EHR.Report.Service/Reports/29-คำสั่งให้ช่วยราชการ-2.trdp new file mode 100644 index 00000000..63fbdef5 Binary files /dev/null and b/BMA.EHR.Report.Service/Reports/29-คำสั่งให้ช่วยราชการ-2.trdp differ diff --git a/BMA.EHR.Report.Service/Reports/30-คำสั่งส่งตัวกลับไปปฏิบัติงานทางต้นสังกัดเดิม.trdp b/BMA.EHR.Report.Service/Reports/30-คำสั่งส่งตัวกลับไปปฏิบัติงานทางต้นสังกัดเดิม.trdp new file mode 100644 index 00000000..fc79b651 Binary files /dev/null and b/BMA.EHR.Report.Service/Reports/30-คำสั่งส่งตัวกลับไปปฏิบัติงานทางต้นสังกัดเดิม.trdp differ diff --git a/BMA.EHR.Report.Service/Reports/31-ประกาศเกษียณข้าราชการ-1.trdp b/BMA.EHR.Report.Service/Reports/31-ประกาศเกษียณข้าราชการ-1.trdp index 5e28cec7..aef01206 100644 Binary files a/BMA.EHR.Report.Service/Reports/31-ประกาศเกษียณข้าราชการ-1.trdp and b/BMA.EHR.Report.Service/Reports/31-ประกาศเกษียณข้าราชการ-1.trdp differ diff --git a/BMA.EHR.Report.Service/Reports/31-ประกาศเกษียณข้าราชการ-2.trdp b/BMA.EHR.Report.Service/Reports/31-ประกาศเกษียณข้าราชการ-2.trdp index 359c400a..e9313772 100644 Binary files a/BMA.EHR.Report.Service/Reports/31-ประกาศเกษียณข้าราชการ-2.trdp and b/BMA.EHR.Report.Service/Reports/31-ประกาศเกษียณข้าราชการ-2.trdp differ diff --git a/BMA.EHR.Report.Service/Reports/31-ประกาศเกษียณข้าราชการ-3.trdp b/BMA.EHR.Report.Service/Reports/31-ประกาศเกษียณข้าราชการ-3.trdp index fdf73627..189edb48 100644 Binary files a/BMA.EHR.Report.Service/Reports/31-ประกาศเกษียณข้าราชการ-3.trdp and b/BMA.EHR.Report.Service/Reports/31-ประกาศเกษียณข้าราชการ-3.trdp differ diff --git a/BMA.EHR.Report.Service/Reports/คำสั่งบรรจุ-examination.trdp b/BMA.EHR.Report.Service/Reports/Old/คำสั่งบรรจุ-examination.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/คำสั่งบรรจุ-examination.trdp rename to BMA.EHR.Report.Service/Reports/Old/คำสั่งบรรจุ-examination.trdp diff --git a/BMA.EHR.Report.Service/Reports/คำสั่งบรรจุ-examinationHead.trdp b/BMA.EHR.Report.Service/Reports/Old/คำสั่งบรรจุ-examinationHead.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/คำสั่งบรรจุ-examinationHead.trdp rename to BMA.EHR.Report.Service/Reports/Old/คำสั่งบรรจุ-examinationHead.trdp diff --git a/BMA.EHR.Report.Service/Reports/คำสั่งย้าย-transfer.trdp b/BMA.EHR.Report.Service/Reports/Old/คำสั่งย้าย-transfer.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/คำสั่งย้าย-transfer.trdp rename to BMA.EHR.Report.Service/Reports/Old/คำสั่งย้าย-transfer.trdp diff --git a/BMA.EHR.Report.Service/Reports/คำสั่งย้าย-transferHead.trdp b/BMA.EHR.Report.Service/Reports/Old/คำสั่งย้าย-transferHead.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/คำสั่งย้าย-transferHead.trdp rename to BMA.EHR.Report.Service/Reports/Old/คำสั่งย้าย-transferHead.trdp diff --git a/BMA.EHR.Report.Service/Reports/คำสั่งแต่งตั้ง-appointment.trdp b/BMA.EHR.Report.Service/Reports/Old/คำสั่งแต่งตั้ง-appointment.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/คำสั่งแต่งตั้ง-appointment.trdp rename to BMA.EHR.Report.Service/Reports/Old/คำสั่งแต่งตั้ง-appointment.trdp diff --git a/BMA.EHR.Report.Service/Reports/คำสั่งแต่งตั้ง-appointmentHead.trdp b/BMA.EHR.Report.Service/Reports/Old/คำสั่งแต่งตั้ง-appointmentHead.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/คำสั่งแต่งตั้ง-appointmentHead.trdp rename to BMA.EHR.Report.Service/Reports/Old/คำสั่งแต่งตั้ง-appointmentHead.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก23-1.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก23-1.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก23-1.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก23-1.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก23-2.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก23-2.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก23-2.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก23-2.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก23-3.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก23-3.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก23-3.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก23-3.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก23-4.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก23-4.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก23-4.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก23-4.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก23-5.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก23-5.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก23-5.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก23-5.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก23-6.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก23-6.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก23-6.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก23-6.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก23-7.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก23-7.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก23-7.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก23-7.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก23-8.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก23-8.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก23-8.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก23-8.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก24-1.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก24-1.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก24-1.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก24-1.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก24-2.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก24-2.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก24-2.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก24-2.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก24-3.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก24-3.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก24-3.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก24-3.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก25-1.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก25-1.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก25-1.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก25-1.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก25-2.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก25-2.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก25-2.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก25-2.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก25-3.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก25-3.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก25-3.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก25-3.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก25-4.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก25-4.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก25-4.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก25-4.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก26-1.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก26-1.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก26-1.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก26-1.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก26-2.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก26-2.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก26-2.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก26-2.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก26-3.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก26-3.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก26-3.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก26-3.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก26-4.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก26-4.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก26-4.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก26-4.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก27-1.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก27-1.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก27-1.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก27-1.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก27-2.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก27-2.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก27-2.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก27-2.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก28-1.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก28-1.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก28-1.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก28-1.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก28-2.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก28-2.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก28-2.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก28-2.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก28-3.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก28-3.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก28-3.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก28-3.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก29-1.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก29-1.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก29-1.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก29-1.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก29-2.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก29-2.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก29-2.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก29-2.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก30.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก30.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก30.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก30.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก31.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก31.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก31.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก31.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก32.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก32.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก32.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก32.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก33.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก33.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก33.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก33.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก34-1.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-1.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก34-1.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-1.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก34-10.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-10.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก34-10.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-10.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก34-11.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-11.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก34-11.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-11.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก34-12.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-12.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก34-12.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-12.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก34-13.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-13.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก34-13.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-13.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก34-14.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-14.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก34-14.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-14.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก34-15.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-15.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก34-15.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-15.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก34-16.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-16.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก34-16.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-16.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก34-17.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-17.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก34-17.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-17.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก34-18.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-18.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก34-18.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-18.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก34-19.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-19.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก34-19.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-19.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก34-2.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-2.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก34-2.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-2.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก34-3.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-3.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก34-3.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-3.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก34-4.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-4.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก34-4.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-4.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก34-5.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-5.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก34-5.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-5.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก34-6.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-6.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก34-6.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-6.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก34-7.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-7.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก34-7.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-7.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก34-8.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-8.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก34-8.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-8.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก34-9.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-9.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก34-9.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก34-9.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก35-1.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก35-1.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก35-1.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก35-1.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก35-10.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก35-10.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก35-10.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก35-10.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก35-2.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก35-2.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก35-2.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก35-2.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก35-3.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก35-3.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก35-3.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก35-3.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก35-4.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก35-4.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก35-4.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก35-4.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก35-5.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก35-5.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก35-5.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก35-5.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก35-6.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก35-6.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก35-6.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก35-6.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก35-7.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก35-7.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก35-7.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก35-7.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก35-8.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก35-8.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก35-8.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก35-8.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก35-9.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก35-9.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก35-9.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก35-9.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก36-1.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก36-1.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก36-1.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก36-1.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก36-2.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก36-2.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก36-2.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก36-2.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก36-3.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก36-3.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก36-3.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก36-3.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก36-4.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก36-4.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก36-4.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก36-4.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก36-5.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก36-5.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก36-5.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก36-5.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก59-เครื่องราชฯ1.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก59-เครื่องราชฯ1.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก59-เครื่องราชฯ1.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก59-เครื่องราชฯ1.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก59-เครื่องราชฯ10.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก59-เครื่องราชฯ10.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก59-เครื่องราชฯ10.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก59-เครื่องราชฯ10.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก59-เครื่องราชฯ11.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก59-เครื่องราชฯ11.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก59-เครื่องราชฯ11.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก59-เครื่องราชฯ11.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก59-เครื่องราชฯ2.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก59-เครื่องราชฯ2.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก59-เครื่องราชฯ2.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก59-เครื่องราชฯ2.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก59-เครื่องราชฯ3.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก59-เครื่องราชฯ3.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก59-เครื่องราชฯ3.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก59-เครื่องราชฯ3.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก59-เครื่องราชฯ4.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก59-เครื่องราชฯ4.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก59-เครื่องราชฯ4.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก59-เครื่องราชฯ4.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก59-เครื่องราชฯ5.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก59-เครื่องราชฯ5.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก59-เครื่องราชฯ5.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก59-เครื่องราชฯ5.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก59-เครื่องราชฯ6.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก59-เครื่องราชฯ6.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก59-เครื่องราชฯ6.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก59-เครื่องราชฯ6.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก59-เครื่องราชฯ7.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก59-เครื่องราชฯ7.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก59-เครื่องราชฯ7.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก59-เครื่องราชฯ7.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก59-เครื่องราชฯ8.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก59-เครื่องราชฯ8.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก59-เครื่องราชฯ8.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก59-เครื่องราชฯ8.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก59-เครื่องราชฯ9.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก59-เครื่องราชฯ9.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก59-เครื่องราชฯ9.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก59-เครื่องราชฯ9.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก7.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก7.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก7.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก7.trdp diff --git a/BMA.EHR.Report.Service/Reports/ภาคผนวก8.trdp b/BMA.EHR.Report.Service/Reports/Old/ภาคผนวก8.trdp similarity index 100% rename from BMA.EHR.Report.Service/Reports/ภาคผนวก8.trdp rename to BMA.EHR.Report.Service/Reports/Old/ภาคผนวก8.trdp