From 3fc3fcf19503465facc2631d495bd497e4266128 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Thu, 11 Mar 2021 21:46:36 +0800 Subject: [PATCH] 分销员后台3 --- zq-erp/src/main/java/com/matrix/core/pojo/AjaxResult.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/zq-erp/src/main/java/com/matrix/core/pojo/AjaxResult.java b/zq-erp/src/main/java/com/matrix/core/pojo/AjaxResult.java index 456a3f1..8582d87 100644 --- a/zq-erp/src/main/java/com/matrix/core/pojo/AjaxResult.java +++ b/zq-erp/src/main/java/com/matrix/core/pojo/AjaxResult.java @@ -4,6 +4,7 @@ import com.matrix.core.tools.InternationaUtil; import com.matrix.core.tools.MdcUtil; import com.matrix.core.tools.StringUtils; +import com.matrix.system.fenxiao.vo.ShopSalesmanApplyVo; import java.io.Serializable; import java.util.HashMap; @@ -84,6 +85,11 @@ public static AjaxResult buildSuccessInstance(List<?> rows, Integer total) { return new AjaxResult(STATUS_SUCCESS, rows, total); } + + public static AjaxResult buildSuccessInstance(List<?> rows, long total) { + return new AjaxResult(STATUS_SUCCESS, rows, Integer.parseInt(total+"")); + } + public static AjaxResult buildSuccessInstance(List<?> rows) { return new AjaxResult(STATUS_SUCCESS, rows); @@ -125,6 +131,7 @@ + public Integer getTotal() { return total; } -- Gitblit v1.9.1