diff --git a/SQLBuilder.Core.Diagnostics/SQLBuilder.Core.Diagnostics.csproj b/SQLBuilder.Core.Diagnostics/SQLBuilder.Core.Diagnostics.csproj
index 4a4a357..bfd9626 100644
--- a/SQLBuilder.Core.Diagnostics/SQLBuilder.Core.Diagnostics.csproj
+++ b/SQLBuilder.Core.Diagnostics/SQLBuilder.Core.Diagnostics.csproj
@@ -21,9 +21,9 @@
1.升级SQLBuilder引用版本;
true
Zq.SQLBuilder.Core.Diagnostics
- 2.3.0
- 2.3.0.0
- 2.3.0.0
+ 2.3.1
+ 2.3.1.0
+ 2.3.1.0
latest
diff --git a/SQLBuilder.Core.ElasticApm/SQLBuilder.Core.ElasticApm.csproj b/SQLBuilder.Core.ElasticApm/SQLBuilder.Core.ElasticApm.csproj
index 54eec1a..f3f2527 100644
--- a/SQLBuilder.Core.ElasticApm/SQLBuilder.Core.ElasticApm.csproj
+++ b/SQLBuilder.Core.ElasticApm/SQLBuilder.Core.ElasticApm.csproj
@@ -20,9 +20,9 @@
sqlbuilder;elastic;apm
1.升级SQLBuilder引用版本;
Zq.SQLBuilder.Core.ElasticApm
- 2.3.0
- 2.3.0.0
- 2.3.0.0
+ 2.3.1
+ 2.3.1.0
+ 2.3.1.0
latest
diff --git a/SQLBuilder.Core.SkyWalking/SQLBuilder.Core.SkyWalking.csproj b/SQLBuilder.Core.SkyWalking/SQLBuilder.Core.SkyWalking.csproj
index 12cd7d1..8bfafb5 100644
--- a/SQLBuilder.Core.SkyWalking/SQLBuilder.Core.SkyWalking.csproj
+++ b/SQLBuilder.Core.SkyWalking/SQLBuilder.Core.SkyWalking.csproj
@@ -21,9 +21,9 @@
1.升级SQLBuilder引用版本;
true
Zq.SQLBuilder.Core.SkyWalking
- 2.3.0
- 2.3.0.0
- 2.3.0.0
+ 2.3.1
+ 2.3.1.0
+ 2.3.1.0
latest
diff --git a/SQLBuilder.Core/Entry/SqlBuilderCore.cs b/SQLBuilder.Core/Entry/SqlBuilderCore.cs
index c2e6ea5..37b2196 100644
--- a/SQLBuilder.Core/Entry/SqlBuilderCore.cs
+++ b/SQLBuilder.Core/Entry/SqlBuilderCore.cs
@@ -4549,6 +4549,7 @@ public SqlBuilderCore OrderByDescending(Expression> expressio
/// 分页计数语法,默认COUNT(*)
/// DbConnection的ServerVersion属性
/// SqlBuilderCore
+ /// 注意:Oracle需要Split(';')分开单独查询总条数和分页数据
public SqlBuilderCore Page(int pageSize, int pageIndex, string orderField, string sql = null, Dictionary parameters = null, string countSyntax = "COUNT(*)", string serverVersion = null)
{
var sb = new StringBuilder();
@@ -4623,6 +4624,7 @@ public SqlBuilderCore Page(int pageSize, int pageIndex, string orderField, st
/// 分页计数语法,默认COUNT(*)
/// DbConnection的ServerVersion属性
/// SqlBuilderCore
+ /// 注意:Oracle需要Split(';')分开单独查询总条数和分页数据
public SqlBuilderCore PageByWith(int pageSize, int pageIndex, string orderField, string sql = null, Dictionary parameters = null, string countSyntax = "COUNT(*)", string serverVersion = null)
{
var sb = new StringBuilder();
diff --git a/SQLBuilder.Core/SQLBuilder.Core.csproj b/SQLBuilder.Core/SQLBuilder.Core.csproj
index 1aca85b..00b2384 100644
--- a/SQLBuilder.Core/SQLBuilder.Core.csproj
+++ b/SQLBuilder.Core/SQLBuilder.Core.csproj
@@ -8,16 +8,14 @@
true
true
张强
- 2.3.0
- 2.3.0.0
- 2.3.0.0
+ 2.3.1
+ 2.3.1.0
+ 2.3.1.0
true
Expression表达式转换为SQL语句,支持SqlServer、MySql、Oracle、Sqlite、PostgreSql;基于Dapper实现了不同数据库对应的数据仓储Repository;
Copyright © 2018-2022 , 张强 943620963@qq.com
Zq.SQLBuilder.Core
- 1.优化OracleRepository支持Oracle12c及以上版本最新FETCH NEXT分页语法;
-2.统一仓储分页语法OrderField位置,修复部分情况下分页必须查询出排序字段的bug;
-3.注意MySql、PostgreSql、Sqlite、SqlServer分页排序逻辑已修改,修复排序字段必须在查询结果中的bug,需注意多表连接查询分页时,必要时需指明排序字段的表别名;
+ 1.优化SqlBuilderCore的Page方法排序逻辑;
https://github.com/zqlovejyc/SQLBuilder.Core
sql.png