Browse Source

-

pull/12/MERGE
sunkaixuan 6 years ago
parent
commit
bb870b6d61
  1. 2
      Src/Asp.NetCore2/SqlSeverTest/SqlSugar/SqlSugarClient.cs
  2. BIN
      Src/Asp.NetCore2/SqlSeverTest/SqliteTest/DataBase/SqlSugar4xTest.sqlite

2
Src/Asp.NetCore2/SqlSeverTest/SqlSugar/SqlSugarClient.cs

@ -811,7 +811,7 @@ namespace SqlSugar
item.Sql = string.Empty;
if (item.Parameters == null)
item.Parameters = new SugarParameter[] { };
var itemParsmeters = item.Parameters.OrderByDescending(it => it.ParameterName).ToList();
var itemParsmeters = item.Parameters.OrderByDescending(it => it.ParameterName.Length).ToList();
var itemSql = item.Sql;
foreach (var itemParameter in itemParsmeters)
{

BIN
Src/Asp.NetCore2/SqlSeverTest/SqliteTest/DataBase/SqlSugar4xTest.sqlite

Binary file not shown.
Loading…
Cancel
Save