浏览代码

数据库同步器自定义开始表bug修复

娄底高职分支
liangkun 1年前
父节点
当前提交
91b552d2ce
共有 1 个文件被更改,包括 10 次插入1 次删除
  1. +10
    -1
      Learun.Framework.Ultimate V7/Quanjiang.DigitalScholl.DataSync/SyncWindow.cs

+ 10
- 1
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))
{


正在加载...
取消
保存