diff --git a/src/main/java/com/cetc32/dh/common/response/PageDataResult.java b/src/main/java/com/cetc32/dh/common/response/PageDataResult.java index 79244e48f6f08d4333e4158a368b4847d74ecb74..b8477b38429b74c5c515508c49de790e33d5ecd1 100644 --- a/src/main/java/com/cetc32/dh/common/response/PageDataResult.java +++ b/src/main/java/com/cetc32/dh/common/response/PageDataResult.java @@ -38,8 +38,8 @@ public class PageDataResult { public PageDataResult(int totals,List list,Integer offset){ this.totals=totals; this.list=list; - for(int i=0;i vfileMenuList = vfileMenuService.queryFilesByObj(offset,results,vfileMenu);*/ + return new PageDataResult(vfileMenuService.countFilesByObj(vfileMenu), vfileMenuService.queryFilesByObj(offset,results,vfileMenu), offset); - /*for(int i=0;i select * from vfile_menu - + and menu_id = #{vfileMenu.menuId} @@ -79,14 +79,14 @@ and file_security = #{vfileMenu.fileSecurity} - + limit #{offset}, #{limit} \ No newline at end of file