This commit is contained in:
parent
5f80de81a4
commit
34b8562ffe
2 changed files with 55 additions and 36 deletions
|
|
@ -844,6 +844,25 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
|||
return Success();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// หน่วยงานที่ถูกเลือกไปแล้ว
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
/// <response code="200"></response>
|
||||
/// <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response>
|
||||
/// <response code="401">ไม่ได้ Login เข้าระบบ</response>
|
||||
/// <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>
|
||||
[HttpGet("use")]
|
||||
public async Task<ActionResult<ResponseObject>> GetPositionUse()
|
||||
{
|
||||
var position = await _context.RetirementOthers
|
||||
.Where(x => x.posmasterId != null)
|
||||
.Where(x => x.Status != "DONE")
|
||||
.Select(x => x.posmasterId)
|
||||
.ToListAsync();
|
||||
return Success(position);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// ส่งรายชื่อออกคำสั่ง C-PM-09
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue