diff --git a/Src/Asp.NetCore2/SqlSugar.QuestDb.RestApi/QuestDbRestAPI.cs b/Src/Asp.NetCore2/SqlSugar.QuestDb.RestApi/QuestDbRestAPI.cs index d3fcd0c3c..8bfd5d10e 100644 --- a/Src/Asp.NetCore2/SqlSugar.QuestDb.RestApi/QuestDbRestAPI.cs +++ b/Src/Asp.NetCore2/SqlSugar.QuestDb.RestApi/QuestDbRestAPI.cs @@ -69,7 +69,7 @@ namespace SqlSugar db.CurrentConnectionConfig.MoreSettings = new ConnMoreSettings(); db.CurrentConnectionConfig.MoreSettings.DisableNvarchar = true; var sql= db.Insertable(insertData).ToSqlString(); - return (await ExecuteCommandAsync(sql)).Contains("OK")?1:0; + return (await ExecuteCommandAsync(sql)).ToUpper().Contains("OK")?1:0; } public int BulkCopy(T insertData) where T : class, new() diff --git a/Src/Asp.NetCore2/SqlSugar.QuestDb.RestApi/SqlSugar.OdbcCore.nuspec b/Src/Asp.NetCore2/SqlSugar.QuestDb.RestApi/SqlSugar.OdbcCore.nuspec index bd96f0a1a..f25cf79e4 100644 --- a/Src/Asp.NetCore2/SqlSugar.QuestDb.RestApi/SqlSugar.OdbcCore.nuspec +++ b/Src/Asp.NetCore2/SqlSugar.QuestDb.RestApi/SqlSugar.OdbcCore.nuspec @@ -2,7 +2,7 @@ SqlSugar.QuestDb.RestAPI - 4.1.05 + 4.1.08 sunkaixuan Landa http://www.apache.org/licenses/LICENSE-2.0.html