no message
This commit is contained in:
parent
20eced3e86
commit
bafb56efb9
1 changed files with 13 additions and 1 deletions
|
|
@ -533,7 +533,6 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
|||
posLevelName = retirementResign.PositionLevelOld,
|
||||
posTypeName = retirementResign.PositionTypeOld,
|
||||
});
|
||||
Console.WriteLine(_res);
|
||||
}
|
||||
return Success(retirementResign);
|
||||
}
|
||||
|
|
@ -669,6 +668,19 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
|||
if (updated.Status == "DONE")
|
||||
{
|
||||
updated.Status = "DONECANCEL";
|
||||
|
||||
// using (var client = new HttpClient())
|
||||
// {
|
||||
// client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token.Replace("Bearer ", ""));
|
||||
// client.DefaultRequestHeaders.Add("api_key", _configuration["API_KEY"]);
|
||||
// var _res = await client.PostAsJsonAsync($"{_configuration["API"]}/org/workflow/add-workflow", new
|
||||
// {
|
||||
// refId = retirementResign.Id,
|
||||
// sysName = "RETIREMENT_RESIFNATION_CANCEL",
|
||||
// posLevelName = retirementResign.PositionLevelOld,
|
||||
// posTypeName = retirementResign.PositionTypeOld,
|
||||
// });
|
||||
// }
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue