From 31ac8f9299dc6e89cecf7a9d9d92f094dc89ed8c Mon Sep 17 00:00:00 2001 From: Kittapath Date: Fri, 28 Jun 2024 18:21:28 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=8A=E0=B9=87=20strp=20report?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Repositories/Commands/CommandRepository.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs b/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs index aef1e689..0d8ad69c 100644 --- a/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs +++ b/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs @@ -8862,10 +8862,10 @@ namespace BMA.EHR.Application.Repositories.Commands if (!notProcess.Contains(command.CommandStatus.Sequence)) { var num = command.CommandStatus.Sequence + 1; - if (command.CommandType.CommandCode == "C-PM-38" && command.CommandStatus.Sequence == 1) - { - num = num + 1; - } + // if (command.CommandType.CommandCode == "C-PM-38" && command.CommandStatus.Sequence == 1) + // { + // num = num + 1; + // } var nextStatus = await _dbContext.Set().FirstOrDefaultAsync(c => c.Sequence == num); command.CommandStatus = nextStatus!;