From 230ace195918bad617edad777ef411e0b78dde8b Mon Sep 17 00:00:00 2001 From: cherishsince Date: Thu, 14 May 2020 17:01:43 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E4=BC=98=E5=8C=96=EF=BC=9ApageResult=20?= =?UTF-8?q?=E5=92=8C=20mybatis=20=E8=BF=94=E5=9B=9E=E7=9A=84=20total=20?= =?UTF-8?q?=E4=BF=9D=E6=8C=81=E4=B8=80=E8=87=B4=EF=BC=88=E6=94=B9=E4=B8=BA?= =?UTF-8?q?long=E5=9E=8B=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/cn/iocoder/common/framework/vo/PageResult.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/common-framework/src/main/java/cn/iocoder/common/framework/vo/PageResult.java b/common/common-framework/src/main/java/cn/iocoder/common/framework/vo/PageResult.java index b454c54bb..eb60ea714 100644 --- a/common/common-framework/src/main/java/cn/iocoder/common/framework/vo/PageResult.java +++ b/common/common-framework/src/main/java/cn/iocoder/common/framework/vo/PageResult.java @@ -13,7 +13,7 @@ public final class PageResult implements Serializable { private List list; @ApiModelProperty(value = "总量", required = true) - private Integer total; + private Long total; public List getList() { return list; @@ -24,11 +24,11 @@ public final class PageResult implements Serializable { return this; } - public Integer getTotal() { + public Long getTotal() { return total; } - public PageResult setTotal(Integer total) { + public PageResult setTotal(Long total) { this.total = total; return this; }