mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Update Oracle in
This commit is contained in:
parent
d1c29d672f
commit
3a5f3098ba
@ -1605,7 +1605,7 @@ namespace SqlSugar
|
||||
{
|
||||
sql = sql.Replace("@" + item.ParameterName.Substring(1), newValues.ToArray().ToJoinSqlInVals());
|
||||
}
|
||||
if (item.ParameterName.Substring(0, 1) != this.SqlParameterKeyWord)
|
||||
if (item.ParameterName.Substring(0, 1) != this.SqlParameterKeyWord&& sql.ObjToString().Contains(this.SqlParameterKeyWord + item.ParameterName))
|
||||
{
|
||||
sql = sql.Replace(this.SqlParameterKeyWord+item.ParameterName, newValues.ToArray().ToJoinSqlInVals());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user