diff --git a/Learun.Framework.Ultimate V7/Quanjiang.DigitalScholl.DataSync/SyncWindow.cs b/Learun.Framework.Ultimate V7/Quanjiang.DigitalScholl.DataSync/SyncWindow.cs index e29275fc8..9e5ef803b 100644 --- a/Learun.Framework.Ultimate V7/Quanjiang.DigitalScholl.DataSync/SyncWindow.cs +++ b/Learun.Framework.Ultimate V7/Quanjiang.DigitalScholl.DataSync/SyncWindow.cs @@ -10,6 +10,7 @@ using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; +using System.Windows.Forms.VisualStyles; using Microsoft.SqlServer.Management.Common; using Microsoft.SqlServer.Management.Smo; @@ -90,8 +91,12 @@ namespace Quanjiang.DigitalScholl.DataSync SetValueProgressBar(SetValue, GetProgressValue()+1); if (Program.beginTable != "") { - if(sourcetable.Name!=Program.beginTable) + if (sourcetable.Name != Program.beginTable) continue; + else + { + Program.beginTable = ""; + } } if (targettables.Contains(sourcetable.Name)) { @@ -203,6 +208,10 @@ namespace Quanjiang.DigitalScholl.DataSync { if (sourcetable.Name != Program.beginTable) continue; + else + { + Program.beginTable = ""; + } } if (targettables.Contains(sourcetable.Name)) {