From 7bd4acb7a62dba3441bff74488a027da36ffcd09 Mon Sep 17 00:00:00 2001 From: "gorbenko.pavel" Date: Mon, 17 Aug 2026 14:33:51 +0500 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D1=81=D1=82=D0=B0=D1=82=D1=83=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Tnsu.ApprovalRoute.Application/Reminders/ReminderDto.cs | 4 +++- .../Reminders/ReminderService.cs | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/backend/Tnsu.ApprovalRoute.Application/Reminders/ReminderDto.cs b/backend/Tnsu.ApprovalRoute.Application/Reminders/ReminderDto.cs index 76a4ce4..739d177 100644 --- a/backend/Tnsu.ApprovalRoute.Application/Reminders/ReminderDto.cs +++ b/backend/Tnsu.ApprovalRoute.Application/Reminders/ReminderDto.cs @@ -10,6 +10,7 @@ namespace Tnsu.ApprovalRoute.Application.Reminders; /// Спрашивать ли у пользователя причину просрочки. Значение уже с применённым /// наследованием (шаг перекрывает тип заявки). /// +/// Статус просроченного шага (ApprovalStatus строки списка «… — согласование»). public sealed record ReminderDto( string Email, int HoursOverdue, @@ -17,4 +18,5 @@ public sealed record ReminderDto( bool AskOverdueReason, int RequestTypeId, string RequestTypeName, - int RequestId); + int RequestId, + string Status); diff --git a/backend/Tnsu.ApprovalRoute.Application/Reminders/ReminderService.cs b/backend/Tnsu.ApprovalRoute.Application/Reminders/ReminderService.cs index f29ff7c..bc2d28d 100644 --- a/backend/Tnsu.ApprovalRoute.Application/Reminders/ReminderService.cs +++ b/backend/Tnsu.ApprovalRoute.Application/Reminders/ReminderService.cs @@ -126,7 +126,8 @@ public sealed class ReminderService( row.AskOverdueReason ?? type.AskOverdueReason ?? false, type.Id, type.Name, - row.TicketId)); + row.TicketId, + row.Status)); } return reminders;