From ca5edf367492214804621dfc4090d27dfc817497 Mon Sep 17 00:00:00 2001 From: SUNKAIXUAN <610262374@qq.com> Date: Wed, 31 Mar 2021 21:05:45 +0800 Subject: [PATCH] MySql blukcopy bug --- .../SqlSugar/Realization/MySql/SqlBuilder/MySqlBlueCopy.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Asp.Net/SqlSugar/Realization/MySql/SqlBuilder/MySqlBlueCopy.cs b/Src/Asp.Net/SqlSugar/Realization/MySql/SqlBuilder/MySqlBlueCopy.cs index 3c9dfc489..fbae11623 100644 --- a/Src/Asp.Net/SqlSugar/Realization/MySql/SqlBuilder/MySqlBlueCopy.cs +++ b/Src/Asp.Net/SqlSugar/Realization/MySql/SqlBuilder/MySqlBlueCopy.cs @@ -48,7 +48,7 @@ namespace SqlSugar Array.ForEach(entity.Columns.ToArray(), p => { if (!p.IsIgnore&& !p.IsOnlyIgnoreInsert) { - pList.Add(p.PropertyInfo); dt.Columns.Add(p.PropertyName); + pList.Add(p.PropertyInfo); dt.Columns.Add(p.DbColumnName); } }); DataRow row = null;