From d7274cd54de2ee0fa6d80cae25d50b9d6a529751 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E8=AF=9A?= Date: Mon, 5 Jan 2026 15:35:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=94=9F=E6=88=90SQL?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E8=AF=AD=E5=8F=A5=E7=9A=84HTML=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F=E5=8C=96=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Service/SmartHandleService.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Service/SmartHandleService.cs b/Service/SmartHandleService.cs index e9d9e96..1a46ea5 100644 --- a/Service/SmartHandleService.cs +++ b/Service/SmartHandleService.cs @@ -328,6 +328,14 @@ public class SmartHandleService( logger.LogInformation("AI生成的SQL: {Sql}", sqlText); + chunkAction( + $""" +
+            生成的SQL查询语句:
+            {System.Net.WebUtility.HtmlEncode(sqlText)}
+            """
+            );
+
             // 第二步:执行动态SQL查询
             List queryResults;
             try