From e58825d4ff10087d804fd9c4148e7efb7a064e44 Mon Sep 17 00:00:00 2001 From: zhai_lw Date: Sat, 12 Jan 2019 11:54:40 +0800 Subject: [PATCH] =?UTF-8?q?1=EF=BC=8C=E5=90=8E=E7=AB=AFOperation=E9=80=BB?= =?UTF-8?q?=E8=BE=91=E8=B0=83=E6=95=B4=202=EF=BC=8C=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=BA=93=E8=AE=BF=E9=97=AE=E9=80=BB=E8=BE=91=E8=B0=83=E6=95=B4?= =?UTF-8?q?=203=EF=BC=8CAccountManagement=E8=B0=83=E6=95=B4=E4=BC=98?= =?UTF-8?q?=E5=8C=96=204=EF=BC=8C=E5=AE=8C=E5=96=84=E5=8A=9F=E8=83=BD4/6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/operation/Search.json | 4 ++-- src/core/user/utils/AccountManagement.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/operation/Search.json b/src/core/operation/Search.json index 5dfe358..5dc66c4 100644 --- a/src/core/operation/Search.json +++ b/src/core/operation/Search.json @@ -1,8 +1,8 @@ { "options":{ "table": "String", - "fields": "List", - "value": "String", + "fields": "List", + "limits": "Map", "start": "int", "end": "int" }, diff --git a/src/core/user/utils/AccountManagement.java b/src/core/user/utils/AccountManagement.java index 3467e77..9337a9f 100644 --- a/src/core/user/utils/AccountManagement.java +++ b/src/core/user/utils/AccountManagement.java @@ -27,7 +27,7 @@ public interface AccountManagement { Map limits = new HashMap<>(); limits.put("id",id); try { - rs = DBManagement.select(columns,userTable,limits,1,2); + rs = DBManagement.select(columns,userTable,limits,0,1); } catch (Exception e) { throw new GExcptSQL("QUERY\n\t"+id+"\nfailure"); }