| | |
| | | zfClanManage.setClanId(clanId); |
| | | LambdaQueryWrapper<ZfClanManage> lqw = buildCondition(zfClanManage); |
| | | List<ZfClanManage> beanRecords = list(lqw); |
| | | List<HashMap<Integer, String>> zInfoUsers = new ArrayList<>(); |
| | | List<HashMap<String, String>> zInfoUsers = new ArrayList<>(); |
| | | |
| | | for (ZfClanManage beanRecord:beanRecords) { |
| | | HashMap<Integer,String> idAndName = new HashMap<>(); |
| | | HashMap<String,String> idAndName = new HashMap<>(); |
| | | String name = zInfoUserService.getById(Long.valueOf(beanRecord.getMemberId())).getNickName(); |
| | | idAndName.put(beanRecord.getMemberId(),name); |
| | | idAndName.put("名字",name); |
| | | idAndName.put("角色类型",String.valueOf(beanRecord.getRoleId())); |
| | | zInfoUsers.add(idAndName); |
| | | } |
| | | |
| | | List<HashMap<Integer, String>> record = zInfoUsers.stream().skip((pageNo-1)*pageSize).limit(pageSize).collect(Collectors.toList()); |
| | | List<HashMap<String, String>> record = zInfoUsers.stream().skip((pageNo-1)*pageSize).limit(pageSize).collect(Collectors.toList()); |
| | | |
| | | int totalPage = (record.size() -1) / pageSize +1; |
| | | |