| | |
| | | infoUser.setIsMyFamily(user.getIsMyFamily()); |
| | | infoUser.setMomId(user.getMid()); |
| | | infoUser.setFatherId(user.getFid()); |
| | | infoUser.setSex(Integer.valueOf(user.getSex())); |
| | | // infoUser.setFamilyId(user.getFamilyId()); |
| | | infoUser.setSysId(user.getSysId()); |
| | | if(user.getSpouseId()!=null) { |
| | |
| | | return data; |
| | | } |
| | | |
| | | public static HashMap<String,Object> getResult(Page pageResult, List record){ |
| | | public static HashMap<String,Object> getShareResult(Page pageResult, List record){ |
| | | HashMap<String, Object> data = new HashMap<>(); |
| | | data.put("data",record); |
| | | data.put("total",record.size()); |
| | |
| | | int totalPage = (bs.size() -1) / pageSize +1; |
| | | |
| | | Page<ZfDoctor> zfDoctorPage = new Page<>(pageNo, pageSize,totalPage); |
| | | HashMap<String, Object> data = MapUtils.getResult(zfDoctorPage, record); |
| | | HashMap<String, Object> data = MapUtils.getShareResult(zfDoctorPage, record); |
| | | return AjaxResult.success(data); |
| | | } |
| | | |
| | |
| | | int totalPage = (beanRecord3.size() -1) / pageSize +1; |
| | | |
| | | Page<ZfDoctor> zfDoctorPage = new Page<>(pageNo, pageSize,totalPage); |
| | | HashMap<String, Object> data = MapUtils.getResult(zfDoctorPage, record); |
| | | HashMap<String, Object> data = MapUtils.getShareResult(zfDoctorPage, record); |
| | | |
| | | return AjaxResult.success(data); |
| | | } |
| | |
| | | int totalPage = (bs.size() -1) / pageSize +1; |
| | | |
| | | Page<ZfDoctor> zfDoctorPage = new Page<>(pageNo, pageSize,totalPage); |
| | | HashMap<String, Object> data = MapUtils.getResult(zfDoctorPage, record); |
| | | HashMap<String, Object> data = MapUtils.getShareResult(zfDoctorPage, record); |
| | | return AjaxResult.success(data); |
| | | |
| | | } |