Browse Source

修改统计终端用户总数

zhouxianguang 6 years ago
parent
commit
4491b02b78

+ 2 - 2
rankin-cms-web/src/main/java/cn/rankin/cmsweb/controller/stmt/StmtStatsController.java

@@ -86,11 +86,11 @@ public class StmtStatsController
             dto.setMerchantId(merchantId);
         }
 
-        Page<TerminalUserAuthVo> pageData = terminalUserService.findAuthList(BeanUtil.convertToMap(dto));
+        APIResult<Page<TerminalUserVo>> pageData =  terminalUserService.search(BeanUtil.convertToMap(dto));
 
         if (pageData != null)
         {
-            return APIResult.ok(pageData.getTotalSize());
+            return APIResult.ok(pageData.getData().getTotalSize());
         }
         else
         {