mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 18:22:23 +08:00
Update Union all
This commit is contained in:
@@ -85,7 +85,7 @@ namespace SqlSugar
|
|||||||
//Compatible with.NET CORE parameters case
|
//Compatible with.NET CORE parameters case
|
||||||
var name = parameter.ParameterName;
|
var name = parameter.ParameterName;
|
||||||
string newName = name +append+ addIndex;
|
string newName = name +append+ addIndex;
|
||||||
appendSql =Regex.Replace(appendSql,name,newName,RegexOptions.IgnoreCase);
|
appendSql = ReplaceSqlParameter(appendSql, parameter, newName);
|
||||||
parameter.ParameterName = newName;
|
parameter.ParameterName = newName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user