| | |
| | | Page<ComActActivityVO> page = (Page<ComActActivityVO>) r.getData(); |
| | | List<ComActActivityVO> content = page.getRecords(); |
| | | if (!ObjectUtils.isEmpty(content)) { |
| | | List<ComActActPrizeVO> comActActPrizeVOList = new ArrayList<>(); |
| | | content.forEach(comActActivityVO1 -> { |
| | | List<ComActActPrizeVO> comActActPrizeVOList = new ArrayList<>(); |
| | | Long id = comActActivityVO1.getId(); |
| | | List<ComActActPrizeDO> list = comActActPrizeService.list(new QueryWrapper<ComActActPrizeDO>().lambda().eq(ComActActPrizeDO::getActivityId, id)); |
| | | if (!ObjectUtils.isEmpty(list)) { |
| | |
| | | }); |
| | | } |
| | | comActActivityVO1.setComActActPrizeVOList(comActActPrizeVOList); |
| | | comActActPrizeVOList.clear(); |
| | | }); |
| | | page.setRecords(content); |
| | | } |
| | | |
| | | } |