Browse Source

-

pull/12/MERGE
sunkaixuan 7 years ago
parent
commit
d2f76ec638
  1. 2
      Src/Asp.Net/SqlSugar/Realization/Oracle/OracleProvider.cs

2
Src/Asp.Net/SqlSugar/Realization/Oracle/OracleProvider.cs

@ -16,7 +16,7 @@ namespace SqlSugar
this.FormatSql = sql =>
{
if (sql.HasValue()&&sql.Contains("@")) {
var exceptionalCaseInfo = Regex.Matches(sql,@"\'.*?\@.*?\'");
var exceptionalCaseInfo = Regex.Matches(sql,@"\'.*?\@.*?\'| \w+\@\w+ ");
if (exceptionalCaseInfo != null) {
foreach (var item in exceptionalCaseInfo.Cast<Match>())
{

Loading…
Cancel
Save