mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 13:06:50 +08:00
Update access bug
This commit is contained in:
parent
f7af838f46
commit
77be6ac359
@ -70,7 +70,7 @@ namespace SqlSugar.Access
|
||||
}
|
||||
if (parameters.HasValue())
|
||||
{
|
||||
OleDbParameter[] ipars = GetSqlParameter(parameters);
|
||||
OleDbParameter[] ipars = GetSqlParameter(parameters).Where(x=>sql.Contains(x.ParameterName)).ToArray();
|
||||
if (ipars != null)
|
||||
{
|
||||
ipars = ipars.OrderBy(it => sql.IndexOf(it.ParameterName)).ToArray();
|
||||
|
Loading…
Reference in New Issue
Block a user