mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-29 19:56:43 +08:00
Oracle dblink bug
This commit is contained in:
parent
da980755b2
commit
26c1a9ee49
@ -17,7 +17,7 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
sql = sql.Replace("+@", "+:");
|
sql = sql.Replace("+@", "+:");
|
||||||
if (sql.HasValue()&&sql.Contains("@")) {
|
if (sql.HasValue()&&sql.Contains("@")) {
|
||||||
var exceptionalCaseInfo = Regex.Matches(sql, @"\'[^\=]*?\@.*?\'| [\.,\w]+\@[\.,\w]+ | [\.,\w]+\@[\.,\w]+");
|
var exceptionalCaseInfo = Regex.Matches(sql, @"\'[^\=]*?\@.*?\'| [\.,\w]+\@[\.,\w]+ | [\.,\w]+\@[\.,\w]+|[\.,\w]+\@[\.,\w]+ ");
|
||||||
if (exceptionalCaseInfo != null) {
|
if (exceptionalCaseInfo != null) {
|
||||||
foreach (var item in exceptionalCaseInfo.Cast<Match>())
|
foreach (var item in exceptionalCaseInfo.Cast<Match>())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user