เช็ strp report

This commit is contained in:
Kittapath 2024-06-28 18:21:28 +07:00
parent ae1cccb600
commit 31ac8f9299

View file

@ -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<CommandStatus>().FirstOrDefaultAsync(c => c.Sequence == num);
command.CommandStatus = nextStatus!;