From 7cb3581bf19168fac09a6626b0134c22381cb406 Mon Sep 17 00:00:00 2001 From: Suphonchai Phoonsawat Date: Tue, 19 Sep 2023 16:26:01 +0700 Subject: [PATCH] =?UTF-8?q?fix=20bug=20=E0=B9=80=E0=B8=8A=E0=B9=87?= =?UTF-8?q?=E0=B8=84=E0=B9=80=E0=B8=AD=E0=B8=81=E0=B8=AA=E0=B8=B2=E0=B8=A3?= =?UTF-8?q?=20upload=20=E0=B8=82=E0=B8=AD=E0=B8=87=20command?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Repositories/Commands/CommandRepository.cs | 4 ++-- BMA.EHR.Command.Service/Controllers/OrderController.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs b/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs index 680ca810..f440f37e 100644 --- a/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs +++ b/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs @@ -5901,8 +5901,8 @@ namespace BMA.EHR.Application.Repositories.Commands return await _dbContext.Set() .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); diff --git a/BMA.EHR.Command.Service/Controllers/OrderController.cs b/BMA.EHR.Command.Service/Controllers/OrderController.cs index 1ffde451..cc144a26 100644 --- a/BMA.EHR.Command.Service/Controllers/OrderController.cs +++ b/BMA.EHR.Command.Service/Controllers/OrderController.cs @@ -255,7 +255,7 @@ namespace BMA.EHR.Command.Service.Controllers case "C-PM-11": case "C-PM-12": case "C-PM-16": - case "C-PM-17": + //case "C-PM-17": case "C-PM-18": case "C-PM-19": case "C-PM-20":