แก้ defect
LV1_024 - บันทึกแก้ไขปฏิทินวันทำงาน (ADMIN)_defect_001#221 LV1_025 - บันทึกแก้ไขสถานะการเข้า-ออกงาน (ADMIN)_defect_001#222
This commit is contained in:
parent
7cae86e577
commit
eb5f39a561
1 changed files with 2 additions and 2 deletions
|
|
@ -1526,7 +1526,7 @@ namespace BMA.EHR.Leave.Service.Controllers
|
||||||
/// <response code="200">เมื่อทำรายการสำเร็จ</response>
|
/// <response code="200">เมื่อทำรายการสำเร็จ</response>
|
||||||
/// <response code="401">ไม่ได้ Login เข้าระบบ</response>
|
/// <response code="401">ไม่ได้ Login เข้าระบบ</response>
|
||||||
/// <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>
|
/// <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>
|
||||||
[HttpPost("admin/work/{id:guid}")]
|
[HttpPut("admin/work/{id:guid}")]
|
||||||
[ProducesResponseType(StatusCodes.Status200OK)]
|
[ProducesResponseType(StatusCodes.Status200OK)]
|
||||||
[ProducesResponseType(StatusCodes.Status401Unauthorized)]
|
[ProducesResponseType(StatusCodes.Status401Unauthorized)]
|
||||||
[ProducesResponseType(StatusCodes.Status500InternalServerError)]
|
[ProducesResponseType(StatusCodes.Status500InternalServerError)]
|
||||||
|
|
@ -1569,7 +1569,7 @@ namespace BMA.EHR.Leave.Service.Controllers
|
||||||
[ProducesResponseType(StatusCodes.Status200OK)]
|
[ProducesResponseType(StatusCodes.Status200OK)]
|
||||||
[ProducesResponseType(StatusCodes.Status401Unauthorized)]
|
[ProducesResponseType(StatusCodes.Status401Unauthorized)]
|
||||||
[ProducesResponseType(StatusCodes.Status500InternalServerError)]
|
[ProducesResponseType(StatusCodes.Status500InternalServerError)]
|
||||||
public async Task<ActionResult<ResponseObject>> EditCheckInStatusAsync(Guid id, [FromQuery] EditCheckInStatusDto req)
|
public async Task<ActionResult<ResponseObject>> EditCheckInStatusAsync(Guid id, [FromBody] EditCheckInStatusDto req)
|
||||||
{
|
{
|
||||||
var data = await _processUserTimeStampRepository.GetByIdAsync(id);
|
var data = await _processUserTimeStampRepository.GetByIdAsync(id);
|
||||||
if (data == null)
|
if (data == null)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue