From d1889460deef7fe5c201cd32fb8fe80f2d8e35f2 Mon Sep 17 00:00:00 2001 From: Mikhail Kuznetsov Date: Thu, 23 Jul 2026 09:34:59 +1000 Subject: [PATCH] =?UTF-8?q?feat(templateMatcher):=20=D0=92=D1=8B=D0=B1?= =?UTF-8?q?=D0=B8=D1=80=D0=B0=D1=82=D1=8C=20=D0=BD=D0=B5=D0=B0=D0=BA=D1=82?= =?UTF-8?q?=D1=83=D0=B0=D0=BB=D1=8C=D0=BD=D1=8B=D0=B5=20=D1=88=D0=B0=D0=B1?= =?UTF-8?q?=D0=BB=D0=BE=D0=BD=D1=8B=20=D0=BF=D0=BE=20=D0=B4=D0=B0=D1=82?= =?UTF-8?q?=D0=B5=20=D0=BF=D0=BE=D1=81=D0=BB=D0=B5=D0=B4=D0=BD=D0=B5=D0=B3?= =?UTF-8?q?=D0=BE=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F?= =?UTF-8?q?,=20=D0=B0=20=D0=BD=D0=B5=20=D1=81=D0=BE=D0=B7=D0=B4=D0=B0?= =?UTF-8?q?=D0=BD=D0=B8=D1=8F.=20=D0=94=D0=B0=D1=82=D0=B0=20=D1=81=D0=BE?= =?UTF-8?q?=D0=B7=D0=B4=D0=B0=D0=BD=D0=B8=D1=8F=20=D0=BD=D0=B5=20=D0=B3?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D0=BD=D1=82=D0=B8=D1=80=D1=83=D0=B5=D1=82,?= =?UTF-8?q?=20=D1=87=D1=82=D0=BE=20=D1=88=D0=B0=D0=B1=D0=BB=D0=BE=D0=BD=20?= =?UTF-8?q?=D0=BD=D0=B5=D0=B4=D0=B0=D0=B2=D0=BD=D0=BE=20=D0=BE=D1=81=D0=B2?= =?UTF-8?q?=D0=BE=D0=B1=D0=BE=D0=B4=D0=B8=D0=BB=D1=81=D1=8F.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PARR.DAL/Repositories/TemplateRepository.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PARR.DAL/Repositories/TemplateRepository.cs b/PARR.DAL/Repositories/TemplateRepository.cs index e962384e..ab8e6530 100644 --- a/PARR.DAL/Repositories/TemplateRepository.cs +++ b/PARR.DAL/Repositories/TemplateRepository.cs @@ -89,6 +89,7 @@ namespace PARR.DAL.Repositories AttemptsNumber = 0, LastRobotStatusUpdated = null } + }; logger.LogDebug("Добавлены роботы для шаблона {TemplateName}", obj.Name); @@ -132,7 +133,7 @@ namespace PARR.DAL.Repositories AND rc.""TaskStatusCode"" = @TaskStatus AND rc.""RobotStatusCode"" = @RobotStatus ) - ORDER BY t.""DateCreated"" ASC + ORDER BY t.""DateModified"" ASC NULLS FIRST LIMIT 1 FOR UPDATE SKIP LOCKED )