เพิ่ม api วันที่จ้างลูกจ้าง
This commit is contained in:
parent
929d9d5c96
commit
97b85a34e7
8 changed files with 17220 additions and 3 deletions
|
|
@ -545,8 +545,8 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
/// <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response>
|
||||
/// <response code="401">ไม่ได้ Login เข้าระบบ</response>
|
||||
/// <response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>
|
||||
[HttpPost("report")]
|
||||
public async Task<ActionResult<ResponseObject>> PostToReport([FromBody] PlacementProfileRequest req)
|
||||
[HttpPost("report/{commandTypeId:length(36)}")]
|
||||
public async Task<ActionResult<ResponseObject>> PostToReport([FromBody] PlacementProfileRequest req, Guid commandTypeId)
|
||||
{
|
||||
foreach (var item in req.Id)
|
||||
{
|
||||
|
|
@ -556,7 +556,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
if (uppdated == null)
|
||||
continue;
|
||||
|
||||
// uppdated.CommandType = await _context.CommandTypes.FindAsync(commandTypeId);
|
||||
uppdated.CommandType = await _context.CommandTypes.FindAsync(commandTypeId);
|
||||
uppdated.Status = "REPORT";
|
||||
uppdated.LastUpdateFullName = FullName ?? "System Administrator";
|
||||
uppdated.LastUpdateUserId = UserId ?? "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue