mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-24 09:49:12 +08:00
Update UitlMethod
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<package >
|
<package >
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>SqlSugarCore</id>
|
<id>SqlSugarCore</id>
|
||||||
<version>5.1.4.172</version>
|
<version>5.1.4.173-preview01</version>
|
||||||
<authors>sunkaixuan</authors>
|
<authors>sunkaixuan</authors>
|
||||||
<owners>果糖大数据科技</owners>
|
<owners>果糖大数据科技</owners>
|
||||||
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
||||||
|
|||||||
@@ -1579,7 +1579,7 @@ namespace SqlSugar
|
|||||||
var result = sqlObj.Key;
|
var result = sqlObj.Key;
|
||||||
if (sqlObj.Value != null)
|
if (sqlObj.Value != null)
|
||||||
{
|
{
|
||||||
foreach (var item in sqlObj.Value.OrderByDescending(it => it.ParameterName.Length))
|
foreach (var item in UtilMethods.CopySugarParameters(sqlObj.Value).OrderByDescending(it => it.ParameterName.Length))
|
||||||
{
|
{
|
||||||
if (item.ParameterName.StartsWith(":")&&!result.Contains(item.ParameterName))
|
if (item.ParameterName.StartsWith(":")&&!result.Contains(item.ParameterName))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user