fix bug select command
This commit is contained in:
parent
adac4d0e53
commit
c7994e50cc
1 changed files with 1 additions and 0 deletions
|
|
@ -5963,6 +5963,7 @@ namespace BMA.EHR.Application.Repositories.Commands
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var command = await _dbContext.Set<Command>()
|
var command = await _dbContext.Set<Command>()
|
||||||
|
.Include(x => x.Placement)
|
||||||
.Include(x => x.Receivers)
|
.Include(x => x.Receivers)
|
||||||
.Include(x => x.CommandType)
|
.Include(x => x.CommandType)
|
||||||
.FirstOrDefaultAsync(x => x.Id == id);
|
.FirstOrDefaultAsync(x => x.Id == id);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue