update status cancel
This commit is contained in:
parent
2547590ce8
commit
216d7c02fb
2 changed files with 2 additions and 0 deletions
|
|
@ -2563,6 +2563,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
|||
if (_res.IsSuccessStatusCode)
|
||||
{
|
||||
data.ForEach(profile => profile.Status = "DONE");
|
||||
data.ForEach(profile => profile.RetirementResign.Status = "CANCEL");
|
||||
// var _data = await _context.RetirementResigns
|
||||
// .Where(x => data.Select(x => x.RetirementResign.Id).Contains(x.Id))
|
||||
// .ToListAsync();
|
||||
|
|
|
|||
|
|
@ -2000,6 +2000,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
|||
if (_res.IsSuccessStatusCode)
|
||||
{
|
||||
data.ForEach(profile => profile.Status = "DONE");
|
||||
data.ForEach(profile => profile.RetirementResignEmployee.Status = "CANCEL");
|
||||
// var _data = await _context.RetirementResignEmployees
|
||||
// .Where(x => data.Select(x => x.RetirementResignEmployee.Id).Contains(x.Id))
|
||||
// .ToListAsync();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue