api โอนชื่อผู้ผ่านการสอบคัดเลือกอื่นๆตามเลขบัตรประชาชนไปบรรจุ
This commit is contained in:
parent
eec8eef4d6
commit
be97f3071f
3 changed files with 349 additions and 0 deletions
|
|
@ -2584,6 +2584,32 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// โอนชื่อผู้ผ่านการสอบคัดเลือกอื่นๆตามเลขบัตรประชาชนไปบรรจุ
|
||||
/// </summary>
|
||||
/// <param name="examId">รหัสรอบสมัคร</param>
|
||||
/// <param name="req">ข้อมูลรายการเลขบัตรประชาชนและวันเริ่มงาน</param>
|
||||
/// <returns></returns>
|
||||
/// <response code="200">เมื่อโอนคนสรรหาไปบรรจุสำเร็จ</response>
|
||||
/// <response code="401">ไม่ได้ Login เข้าระบบ</response>
|
||||
/// <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>
|
||||
[HttpPost("placement-selective/{examId:length(36)}")]
|
||||
[ProducesResponseType(StatusCodes.Status200OK)]
|
||||
[ProducesResponseType(StatusCodes.Status401Unauthorized)]
|
||||
[ProducesResponseType(StatusCodes.Status500InternalServerError)]
|
||||
public async Task<ActionResult<ResponseObject>> UpdateAsyncSelectiveDisablePlacement(Guid examId, [FromBody] SelectivePlacementRequest req)
|
||||
{
|
||||
try
|
||||
{
|
||||
await _periodExamService.UpdateAsyncSelectiveDisablePlacement(examId, req.CitizenIds, req.AccountStartDate);
|
||||
return Success();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return Error(ex);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region " Report "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue