change-params:获取预警规则主体反参增加更新时间

This commit is contained in:
hardstylewyl 2025-03-25 14:44:55 +08:00
parent 8ae7e40421
commit 261aa5110e
2 changed files with 7 additions and 1 deletions

View File

@ -54,4 +54,9 @@ public sealed class WarningRuleDto
/// 创建时间
/// </summary>
public DateTime CreateTime { get; set; }
/// <summary>
/// 更新时间
/// </summary>
public DateTime? UpdateTime { get; set; }
}

View File

@ -70,7 +70,8 @@ public class WarningService : ApplicationService
IsEnabled = x.IsEnabled,
WarningType = x.WarningType,
Version = x.Version,
CreateTime = x.CreateTime
CreateTime = x.CreateTime,
UpdateTime = x.UpdateTime,
}).ToList());
}