From bc43f882b54390fe3b921fc63ebcf7bfeecfb28c Mon Sep 17 00:00:00 2001 From: "Gui.H" Date: Mon, 31 Jul 2023 11:21:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=AF=B9=E6=AF=94=E7=BB=93?= =?UTF-8?q?=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Properties/launchSettings.json | 7 -- src/OnlineWebApp/Views/Home/SyncCheck.cshtml | 95 ++++++++++++---- src/OnlineWebApp/Views/Shared/_Layout.cshtml | 1 + src/PowerSchemaSync/Models/DiffResult.cs | 41 ++++++- src/PowerSchemaSync/PowerSchemaSync.csproj | 2 +- src/PowerSchemaSync/Utilitys/DiffUtility.cs | 102 ++++++++++++------ 6 files changed, 182 insertions(+), 66 deletions(-) diff --git a/src/OnlineWebApp/Properties/launchSettings.json b/src/OnlineWebApp/Properties/launchSettings.json index 524d342..b7d90bf 100644 --- a/src/OnlineWebApp/Properties/launchSettings.json +++ b/src/OnlineWebApp/Properties/launchSettings.json @@ -25,13 +25,6 @@ "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } - }, - "IIS Express": { - "commandName": "IISExpress", - "launchBrowser": true, - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } } } } diff --git a/src/OnlineWebApp/Views/Home/SyncCheck.cshtml b/src/OnlineWebApp/Views/Home/SyncCheck.cshtml index 555b4dd..dcd5687 100644 --- a/src/OnlineWebApp/Views/Home/SyncCheck.cshtml +++ b/src/OnlineWebApp/Views/Home/SyncCheck.cshtml @@ -4,7 +4,14 @@ @{ ViewData["Title"] = "结构检查"; } - +@section css{ + +}
@@ -14,16 +21,26 @@ - - + + @* *@ + + + + - - + @@ -32,8 +49,14 @@

部署脚本

-
- {{sql}} +
+
{{currentRow.syncSql}}
+
+ +
+
+ {{sql}} +
@@ -44,15 +67,17 @@

部署脚本

-
+
SET FOREIGN_KEY_CHECKS=0;
-