| | |
| | | |
| | | //获取捐献进程进度 |
| | | Map<Integer, Long> terminationCase = total.stream().filter(Objects::nonNull).map(DonatebaseinfoProgressDTO::getTerminationCase).filter(Objects::nonNull).collect(Collectors.groupingBy(type -> type, Collectors.counting())); |
| | | |
| | | List<Map<String,Object>> totals= serviceDonatebaseinfoService.totalConfirmationBaseInfo(donatebaseinfoProgressVO); |
| | | //数据封装 |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("terminationCase", terminationCase); |
| | | map.put("donatebaseinfoProgressDTOS", donatebaseinfoProgressDTOS); |
| | | map.put("total", totals); |
| | | |
| | | if (!CollectionUtils.isEmpty(total)) totalCount = total.size(); |
| | | return getDataTable(map, totalCount); |