From a59e5d99a77fcb152e6fe49df78f69cb5fd6c5a0 Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期二, 19 八月 2025 15:58:10 +0800
Subject: [PATCH] feat:开发

---
 FlexJobApi.Core/Models/CommonServer/LogRecords/Queries/GetTraceIdLogQuery.cs |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 49 insertions(+), 0 deletions(-)

diff --git a/FlexJobApi.Core/Models/CommonServer/LogRecords/Queries/GetTraceIdLogQuery.cs b/FlexJobApi.Core/Models/CommonServer/LogRecords/Queries/GetTraceIdLogQuery.cs
new file mode 100644
index 0000000..2abe100
--- /dev/null
+++ b/FlexJobApi.Core/Models/CommonServer/LogRecords/Queries/GetTraceIdLogQuery.cs
@@ -0,0 +1,49 @@
+锘縰sing MediatR;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace FlexJobApi.Core
+{
+    /// <summary>
+    /// 璺熻釜Id鏃ュ織鏌ヨ
+    /// </summary>
+    [Resource([EnumResourceController.LogRecords])]
+    public class GetTraceIdLogQuery : IRequest<GetTraceIdLogQueryResult>
+    {
+        /// <summary>
+        /// 璺熻釜Id
+        /// </summary>
+        public string TraceId { get; set; }
+    }
+
+    /// <summary>
+    /// 璺熻釜Id鏃ュ織鏌ヨ
+    /// </summary>
+    public class GetTraceIdLogQueryResult
+    {
+        public GetTraceIdLogQueryResult()
+        {
+            ResourceLogs = [];
+            ExceptionLogs = [];
+            DbAuditLogs = [];
+        }
+
+        /// <summary>
+        /// 璧勬簮鏃ュ織
+        /// </summary>
+        public List<GetResourceLogsQueryResultItem> ResourceLogs { get; set; }
+
+        /// <summary>
+        /// 寮傚父鏃ュ織
+        /// </summary>
+        public List<GetExceptionLogsQueryResultItem> ExceptionLogs { get; set; }
+
+        /// <summary>
+        /// 鏁版嵁搴撳璁℃棩蹇�
+        /// </summary>
+        public List<GetDbAuditLogsQueryResultItem> DbAuditLogs { get; set; }
+    }
+}

--
Gitblit v1.9.1