yujian
2019-01-22 88b54772dbcf5ecab1e2316e4e4626ac901b8908
fanli/src/main/java/com/yeshi/fanli/controller/admin/PushRecordAdminController.java
@@ -64,9 +64,13 @@
            return;
         }
         
         int count = pushRecordService.getCount(key, type, pageIndex);
         PageEntity pe = new PageEntity(pageIndex, Constant.PAGE_SIZE, count);
         int pageSize = Constant.PAGE_SIZE;
         
         int count = pushRecordService.getCount(key, type, pageIndex);
         int totalPage = (int) (count % pageSize == 0 ? count / pageSize : count / pageSize + 1);
         PageEntity pe = new PageEntity(pageIndex, pageSize, count, totalPage);
         JSONObject data = new JSONObject();
         data.put("pe", pe);
         data.put("result_list", list);