From f6a44e8169a1c83e2aa64c462a4231c9b8dd1859 Mon Sep 17 00:00:00 2001 From: xuejiaming <326308290@qq.com> Date: Tue, 15 Feb 2022 23:50:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=9D=9E=E9=A1=BA=E5=BA=8F?= =?UTF-8?q?=E6=8E=92=E5=BA=8F=E4=B9=9F=E5=88=A4=E6=96=AD=E4=BA=86=E9=A1=BA?= =?UTF-8?q?=E5=BA=8F=E6=8E=92=E5=BA=8F=E7=86=94=E6=96=AD=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nuget-publish.bat | 8 ++++---- .../EntityQueryConfigurations/EntityQueryBuilder.cs | 2 +- src/ShardingCore/Sharding/StreamMergeContext.cs | 5 +++++ 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/nuget-publish.bat b/nuget-publish.bat index b9d8ab1c..560566ac 100644 --- a/nuget-publish.bat +++ b/nuget-publish.bat @@ -1,9 +1,9 @@ :start ::定义版本 -set EFCORE2=2.4.1.04 -set EFCORE3=3.4.1.04 -set EFCORE5=5.4.1.04 -set EFCORE6=6.4.1.04 +set EFCORE2=2.4.1.05 +set EFCORE3=3.4.1.05 +set EFCORE5=5.4.1.05 +set EFCORE6=6.4.1.05 ::删除所有bin与obj下的文件 @echo off diff --git a/src/ShardingCore/Sharding/EntityQueryConfigurations/EntityQueryBuilder.cs b/src/ShardingCore/Sharding/EntityQueryConfigurations/EntityQueryBuilder.cs index 4b212d68..dc63602c 100644 --- a/src/ShardingCore/Sharding/EntityQueryConfigurations/EntityQueryBuilder.cs +++ b/src/ShardingCore/Sharding/EntityQueryConfigurations/EntityQueryBuilder.cs @@ -71,7 +71,7 @@ namespace ShardingCore.Sharding.EntityQueryConfigurations /// /// 配置默认方法不带排序的时候采用什么排序来触发熔断 /// - /// true表示和默认的ShardingTailComparer排序一致,false表示和磨人的排序相反 + /// true表示和默认的ShardingTailComparer排序一致,false表示和默认的排序相反 /// /// /// diff --git a/src/ShardingCore/Sharding/StreamMergeContext.cs b/src/ShardingCore/Sharding/StreamMergeContext.cs index a9436068..925d10e3 100644 --- a/src/ShardingCore/Sharding/StreamMergeContext.cs +++ b/src/ShardingCore/Sharding/StreamMergeContext.cs @@ -208,6 +208,11 @@ namespace ShardingCore.Sharding return true; } + else + { + tailComparerIsAsc = true; + return false; + } } } if (virtualTable.EnableEntityQuery && methodName != null &&