From bbe0a2fd03063316e50cf141986bda984599bbda Mon Sep 17 00:00:00 2001
From: 935090232@qq.com <ak473600000>
Date: Tue, 22 Feb 2022 23:41:42 +0800
Subject: [PATCH] Merge branch 'developer'

---
 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