From 3ac1240a5961e18c5793b5d7c0a8ca4df6ffe4ce Mon Sep 17 00:00:00 2001 From: smallchill Date: Thu, 7 Nov 2019 15:35:12 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E6=9D=A1=E4=BB=B6=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E5=8E=BB=E9=99=A4=E5=88=86=E9=A1=B5=E6=8E=92=E5=BA=8F=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/org/springblade/core/mp/support/Condition.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blade-core-mybatis/src/main/java/org/springblade/core/mp/support/Condition.java b/blade-core-mybatis/src/main/java/org/springblade/core/mp/support/Condition.java index 929fd5c..ce27a3f 100644 --- a/blade-core-mybatis/src/main/java/org/springblade/core/mp/support/Condition.java +++ b/blade-core-mybatis/src/main/java/org/springblade/core/mp/support/Condition.java @@ -65,6 +65,8 @@ public class Condition { public static QueryWrapper getQueryWrapper(Map query, Class clazz) { query.remove("current"); query.remove("size"); + query.remove("ascs"); + query.remove("descs"); QueryWrapper qw = new QueryWrapper<>(); qw.setEntity(BeanUtil.newInstance(clazz)); SqlKeyword.buildCondition(query, qw);