แก้ออกคำสั่ง

This commit is contained in:
kittapath 2024-10-07 22:35:34 +07:00
parent d128960111
commit 85d9754db6
8 changed files with 124 additions and 103 deletions

View file

@ -660,7 +660,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
.Where(x => req.refIds.Contains(x.Id.ToString()))
.Where(x => x.Status.ToUpper() == "REPORT")
.ToListAsync();
placementProfiles.ForEach(profile => profile.Status = "APPROVE");
placementProfiles.ForEach(profile => profile.Status = "WAITTING");
await _context.SaveChangesAsync();
return Success();
}
@ -815,7 +815,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
.Where(x => req.refIds.Contains(x.Id.ToString()))
.Where(x => x.Status.ToUpper() == "REPORT")
.ToListAsync();
placementProfiles.ForEach(profile => profile.Status = "APPROVE");
placementProfiles.ForEach(profile => profile.Status = "WAITTING");
await _context.SaveChangesAsync();
return Success();
}