| | |
| | | } |
| | | comActActivityVO1.setComActActPrizeVOList(comActActPrizeVOList); |
| | | Integer volunteerMax = comActActivityVO1.getVolunteerMax(); |
| | | if (volunteerMax.intValue() != 0) { |
| | | comActActivityVO1.setType(1); |
| | | } else { |
| | | comActActivityVO1.setType(2); |
| | | if(comActActivityVO1.getType()==null){ |
| | | if (volunteerMax.intValue() != 0) { |
| | | comActActivityVO1.setType(1); |
| | | } else { |
| | | comActActivityVO1.setType(2); |
| | | } |
| | | } |
| | | fillActivitySignList(id, comActActivityVO1); |
| | | }); |
| | |
| | | */ |
| | | @PostMapping("listactivity") |
| | | public R listActivity(@RequestParam("userId") Long userId, |
| | | @RequestParam(value = "status", required = false) Integer status) { |
| | | return comActActivityService.listActivity(userId, status); |
| | | @RequestParam(value = "status", required = false) Integer status,@RequestParam(value = "type", required = false) Integer type) { |
| | | return comActActivityService.listActivity(userId, status,type); |
| | | } |
| | | |
| | | /** |