Commit 0fa59747 authored by xinglei's avatar xinglei

*)修改分页参数

parent 67fad3d9
...@@ -122,9 +122,9 @@ public class PageParam<K, V> extends HashMap<K, V> implements Pageable { ...@@ -122,9 +122,9 @@ public class PageParam<K, V> extends HashMap<K, V> implements Pageable {
return size; return size;
} }
if (this.get("size") instanceof String) { if (this.get("size") instanceof String) {
return Integer.parseInt((String) this.get("current")); return Integer.parseInt((String) this.get("size"));
} else { } else {
return (Integer)(this.get("current")); return (Integer)(this.get("size"));
} }
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment