| | |
| | | return comActService.pageCommunity(pageComActDTO); |
| | | } |
| | | |
| | | /** |
| | | * 志愿者详情 |
| | | * @param id 主键 |
| | | * @return 志愿者 |
| | | */ |
| | | @PostMapping("detailvolunteer") |
| | | public R detailVolunteer(@RequestParam("id") Long id){ |
| | | R r = comMngVolunteerMngService.detailVolunteer(id); |
| | | if (R.isOk(r)) { |
| | | ComMngVolunteerMngAppletsVO comMngVolunteerMngAppletsVO =(ComMngVolunteerMngAppletsVO) r.getData(); |
| | | String phone = comMngVolunteerMngAppletsVO.getPhone(); |
| | | List<ComActActivityVO> comActActivityVOS= comActActivityService.listActivityByPhone(phone); |
| | | comMngVolunteerMngAppletsVO.setComActActivityVOList(comActActivityVOS); |
| | | r.setData(comMngVolunteerMngAppletsVO); |
| | | } |
| | | return r; |
| | | } |
| | | |
| | | } |