diff --git a/bonus-modules/bonus-material/src/main/java/com/bonus/material/ma/controller/TypeController.java b/bonus-modules/bonus-material/src/main/java/com/bonus/material/ma/controller/TypeController.java index 01b3a247..a77561bf 100644 --- a/bonus-modules/bonus-material/src/main/java/com/bonus/material/ma/controller/TypeController.java +++ b/bonus-modules/bonus-material/src/main/java/com/bonus/material/ma/controller/TypeController.java @@ -77,7 +77,8 @@ public class TypeController extends BaseController { } Integer pageIndex = Convert.toInt(ServletUtils.getParameter("pageNum"), 1); Integer pageSize = Convert.toInt(ServletUtils.getParameter("pageSize"), 10); - return AjaxResult.success(ListPagingUtil.paging(pageIndex, pageSize, typeService.getMyTypeAndBindUsers(myTypeList))); + List result = typeService.getMyTypeAndBindUsers(myTypeList); + return AjaxResult.success(ListPagingUtil.paging(pageIndex, pageSize, result)); } /**