Browse Source

Optimizing Oracle

pull/29/head
sunkaixuan 2 years ago
parent
commit
858c0d5eb8
  1. 2
      Src/Asp.Net/SqlSugar/Realization/Oracle/OracleProvider.cs

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

@ -116,7 +116,7 @@ namespace SqlSugar
{ {
foreach (var Parameter in parameters) foreach (var Parameter in parameters)
{ {
if (Parameter.ParameterName != null && Parameter.ParameterName.ToLower().IsIn("@user", "@level", ":user", ":level")) if (Parameter.ParameterName != null && Parameter.ParameterName.ToLower().IsIn("@order",":order","@user", "@level", ":user", ":level"))
{ {
if (parameters.Count(it => it.ParameterName.StartsWith(Parameter.ParameterName)) == 1) if (parameters.Count(it => it.ParameterName.StartsWith(Parameter.ParameterName)) == 1)
{ {

Loading…
Cancel
Save