From 99bd886e77e29d8062247dfff982f7c4a81a97b0 Mon Sep 17 00:00:00 2001 From: smallchill Date: Tue, 19 Sep 2017 18:04:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96grid=E5=88=86=E9=A1=B5?= =?UTF-8?q?=E6=8E=A7=E4=BB=B6,=E5=A2=9E=E5=8A=A0=E5=8F=AF=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E5=8F=82=E6=95=B0=E8=80=8C=E4=B8=8D=E8=A2=AB?= =?UTF-8?q?=E7=BA=B3=E5=85=A5=E8=87=AA=E5=8A=A8=E7=94=9F=E6=88=90=E7=9A=84?= =?UTF-8?q?where=E8=AF=AD=E5=8F=A5=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/springblade/core/toolbox/grid/BaseGridFactory.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/org/springblade/core/toolbox/grid/BaseGridFactory.java b/src/main/java/org/springblade/core/toolbox/grid/BaseGridFactory.java index ac45c917..25a3f94a 100644 --- a/src/main/java/org/springblade/core/toolbox/grid/BaseGridFactory.java +++ b/src/main/java/org/springblade/core/toolbox/grid/BaseGridFactory.java @@ -123,9 +123,7 @@ public abstract class BaseGridFactory implements IGrid { } for (String key : map.keySet()) { if (key.startsWith(SqlKeyword.TOINT) || key.startsWith(SqlKeyword.IT) || key.startsWith(SqlKeyword.F_IT)) { - map.put(key.replace(SqlKeyword.SKIP, ""), Convert.toInt(map.get(key))); - } else { - map.put(key.replace(SqlKeyword.SKIP, ""), map.get(key)); + map.put(key, Convert.toInt(map.get(key))); } } map.put(Const.ORDER_BY_STR, Func.isAllEmpty(sort, order) ? "" : (sort + " " + order));