mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-02 03:13:58 +08:00
Oracle BUG
This commit is contained in:
@@ -16,7 +16,7 @@ namespace SqlSugar
|
|||||||
this.FormatSql = sql =>
|
this.FormatSql = sql =>
|
||||||
{
|
{
|
||||||
if (sql.HasValue()&&sql.Contains("@")) {
|
if (sql.HasValue()&&sql.Contains("@")) {
|
||||||
var exceptionalCaseInfo = Regex.Matches(sql,@"\'.*?\@.*?\'| \w+\@\w+ ");
|
var exceptionalCaseInfo = Regex.Matches(sql, @"\'.*?\@.*?\'| [\.,\w]+\@[\.,\w]+ | [\.,\w]+\@[\.,\w]+");
|
||||||
if (exceptionalCaseInfo != null) {
|
if (exceptionalCaseInfo != null) {
|
||||||
foreach (var item in exceptionalCaseInfo.Cast<Match>())
|
foreach (var item in exceptionalCaseInfo.Cast<Match>())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user