Browse Source

Oracle SubInsert bug

pull/12/MERGE
skx 4 years ago
parent
commit
99f37e08af
  1. 5
      Src/Asp.Net/SqlSugar/Realization/Oracle/SqlBuilder/OracleInsertBuilder.cs

5
Src/Asp.Net/SqlSugar/Realization/Oracle/SqlBuilder/OracleInsertBuilder.cs

@ -96,6 +96,11 @@ namespace SqlSugar
batchInsetrSql.AppendLine("SELECT 1 FROM DUAL");
}
var result= batchInsetrSql.ToString();
if (result.Contains("{SugarSeq:=}"))
{
result = result.Replace("\"{SugarSeq:=}", "");
result = result.Replace("{SugarSeq:=}\"", "");
}
return result;
}
}

Loading…
Cancel
Save