mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-29 01:44:41 +08:00
Update json 2 sql
This commit is contained in:
@@ -23,7 +23,7 @@ namespace SqlSugar
|
||||
var result=new JsonInsertResult();
|
||||
var sqlInfo = this.ToSqlList();
|
||||
var sqlInfoResult = sqlInfo.First();
|
||||
if (sqlInfoResult.JsonSqlType == JsonProviderType.InsertableIdentity)
|
||||
if (sqlInfoResult.JsonSqlType != JsonProviderType.InsertableIdentity)
|
||||
{
|
||||
result.InsertCount = this.context.Ado.ExecuteCommand(sqlInfoResult.Sql,sqlInfoResult.Parameters);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user