api report ประวัติสำหรับการเสนอขอพระราชทานเหรียญจักรพรรดิมาลาแล้ว #1778
Some checks failed
release-dev / release-dev (push) Failing after 11s

This commit is contained in:
Bright 2025-08-25 20:13:31 +07:00
parent 2d9f546023
commit 75ddebba37
5 changed files with 139 additions and 2 deletions

View file

@ -587,7 +587,6 @@ namespace BMA.EHR.Insignia.Service.Controllers
}
#endregion
#region
/// <summary>
/// รายงานสถิติการได้รับเครื่องราชอิสริยาภรณ์ข้าราชการ ฯ
@ -688,7 +687,6 @@ namespace BMA.EHR.Insignia.Service.Controllers
}
#endregion
#region
/// <summary>
/// รายงานผลการจ่ายประกาศนียบัตรกำกับเครื่องราชอิสริยาภรณ์ แยกรายหน่วยงาน
@ -833,5 +831,37 @@ namespace BMA.EHR.Insignia.Service.Controllers
}
#endregion
#region
/// <summary>
/// ประวัติสำหรับการเสนอขอพระราชทานเหรียญจักรพรรดิมาลา
/// </summary>
/// <param name="id">id </param>
/// <returns></returns>
/// <response code="200">เมื่อทำการอ่านข้อมูลจาก Relational Database สำเร็จ</response>
/// <response code="401">ไม่ได้ Login เข้าระบบ</response>
/// <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>
[HttpPost("report8/{id}")]
public async Task<ActionResult<ResponseObject>> GetInsigniaReport8Async(Guid id)
{
try
{
var data = await _repository.GeInsigniaRequestProfiles(id);
var result = new
{
template = "reportInsignia8",
reportName = "reportInsignia8",
data = data
};
return Success(result);
}
catch
{
throw;
}
}
#endregion
}
}