แก้คำสั่งวินัย
This commit is contained in:
parent
6d7aebaeb5
commit
1c939f6ffc
5 changed files with 784 additions and 91 deletions
|
|
@ -426,7 +426,10 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
|
|||
.Where(x => x.Id == d.id)
|
||||
.FirstOrDefaultAsync();
|
||||
if (data != null)
|
||||
{
|
||||
data.Status = "NEW";
|
||||
data.CommandTypeId = null;
|
||||
}
|
||||
await _context.SaveChangesAsync();
|
||||
}
|
||||
return Success();
|
||||
|
|
@ -450,7 +453,10 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
|
|||
.Where(x => x.Id == d.id)
|
||||
.FirstOrDefaultAsync();
|
||||
if (data != null)
|
||||
{
|
||||
data.StatusDiscard = "NEW";
|
||||
data.CommandTypeDiscardId = null;
|
||||
}
|
||||
await _context.SaveChangesAsync();
|
||||
}
|
||||
return Success();
|
||||
|
|
@ -504,7 +510,7 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
|
|||
.Where(x => x.Id == d.id)
|
||||
.FirstOrDefaultAsync();
|
||||
if (data != null)
|
||||
data.Status = "NEW";
|
||||
data.Status = "DONE";
|
||||
await _context.SaveChangesAsync();
|
||||
}
|
||||
return Success();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue