| | |
| | | return data; |
| | | } |
| | | |
| | | public static HashMap<String,Object> getShareResult(Page pageResult, List record){ |
| | | public static HashMap<String,Object> getShareResult(Page pageResult, List record,long total){ |
| | | HashMap<String, Object> data = new HashMap<>(); |
| | | data.put("data",record); |
| | | data.put("total",record.size()); |
| | | data.put("total",total); |
| | | data.put("pageNo",pageResult.getCurrent()); |
| | | data.put("totalPage",pageResult.getTotal()); |
| | | data.put("pageSize",pageResult.getSize()); |
| | |
| | | int totalPage = (bs.size() -1) / pageSize +1; |
| | | |
| | | Page<ZfDoctor> zfDoctorPage = new Page<>(pageNo, pageSize,totalPage); |
| | | HashMap<String, Object> data = MapUtils.getShareResult(zfDoctorPage, record); |
| | | HashMap<String, Object> data = MapUtils.getShareResult(zfDoctorPage, record,bs.size()); |
| | | return AjaxResult.success(data); |
| | | } |
| | | |
| | |
| | | int totalPage = (beanRecord3.size() -1) / pageSize +1; |
| | | |
| | | Page<ZfDoctor> zfDoctorPage = new Page<>(pageNo, pageSize,totalPage); |
| | | HashMap<String, Object> data = MapUtils.getShareResult(zfDoctorPage, record); |
| | | HashMap<String, Object> data = MapUtils.getShareResult(zfDoctorPage, record,beanRecord3.size()); |
| | | |
| | | return AjaxResult.success(data); |
| | | } |
| | |
| | | int totalPage = (bs.size() -1) / pageSize +1; |
| | | |
| | | Page<ZfDoctor> zfDoctorPage = new Page<>(pageNo, pageSize,totalPage); |
| | | HashMap<String, Object> data = MapUtils.getShareResult(zfDoctorPage, record); |
| | | HashMap<String, Object> data = MapUtils.getShareResult(zfDoctorPage, record,bs.size()); |
| | | return AjaxResult.success(data); |
| | | |
| | | } |