no message

This commit is contained in:
kittapath 2024-10-24 19:27:05 +07:00
parent 20eced3e86
commit bafb56efb9

View file

@ -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
{