fix bug เช็คเอกสาร upload ของ command

This commit is contained in:
Suphonchai Phoonsawat 2023-09-19 16:26:01 +07:00
parent eda476458a
commit 7cb3581bf1
2 changed files with 3 additions and 3 deletions

View file

@ -5901,8 +5901,8 @@ namespace BMA.EHR.Application.Repositories.Commands
return await _dbContext.Set<Command>()
.Include(x => x.Placement)
.Include(x => x.CommandType)
//.Include(x => x.Documents)
//.ThenInclude(x => x.Document) //--REmove
.Include(x => x.Documents)
.ThenInclude(x => x.Document) //--REmove
.Include(x => x.Receivers)
.Include(x => x.CommandStatus)
.FirstOrDefaultAsync(x => x.Id == id);