mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-18 17:48:11 +08:00
Update oracle
This commit is contained in:
@@ -17,7 +17,7 @@ namespace SqlSugar
|
||||
{
|
||||
sql = sql.Replace("+@", "+:");
|
||||
if (sql.HasValue()&&sql.Contains("@")) {
|
||||
var exceptionalCaseInfo = Regex.Matches(sql, @"\'[^\=]*?\@.*?\'|[\.,\w]+\@[\.,\w]+ | [\.,\w]+\@[\.,\w]+|[\.,\w]+\@[\.,\w]+ |\d+\@\d");
|
||||
var exceptionalCaseInfo = Regex.Matches(sql, @"\'[^\=]*?\@.*?\'|[\.,\w]+\@[\.,\w]+ | [\.,\w]+\@[\.,\w]+|[\.,\w]+\@[\.,\w]+ |\d+\@\d|\@\@");
|
||||
if (exceptionalCaseInfo != null) {
|
||||
foreach (var item in exceptionalCaseInfo.Cast<Match>())
|
||||
{
|
||||
|
@@ -17,7 +17,7 @@ namespace SqlSugar
|
||||
{
|
||||
sql = sql.Replace("+@", "+:");
|
||||
if (sql.HasValue()&&sql.Contains("@")) {
|
||||
var exceptionalCaseInfo = Regex.Matches(sql, @"\'[^\=]*?\@.*?\'|[\.,\w]+\@[\.,\w]+ | [\.,\w]+\@[\.,\w]+|[\.,\w]+\@[\.,\w]+ |\d+\@\d");
|
||||
var exceptionalCaseInfo = Regex.Matches(sql, @"\'[^\=]*?\@.*?\'|[\.,\w]+\@[\.,\w]+ | [\.,\w]+\@[\.,\w]+|[\.,\w]+\@[\.,\w]+ |\d+\@\d|\@\@");
|
||||
if (exceptionalCaseInfo != null) {
|
||||
foreach (var item in exceptionalCaseInfo.Cast<Match>())
|
||||
{
|
||||
|
Reference in New Issue
Block a user