| | |
| | | package com.panzhihua.common.service.partybuilding; |
| | | |
| | | import com.panzhihua.common.model.dtos.partybuilding.ActivitySignUpDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.community.ComActActivityVO; |
| | | import com.panzhihua.common.model.vos.partybuilding.*; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | |
| | | * @return 党组织集合 |
| | | */ |
| | | @PostMapping("/partybuildIng/listpartyorganization") |
| | | List<PartyOrganizationVO> listPartyOrganization(); |
| | | R listPartyOrganization(@RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 批量新增党员 |
| | |
| | | * @return 活动详情内容 |
| | | */ |
| | | @PostMapping("/partybuildIng/activityinfo") |
| | | R activityinfo(@RequestParam("id") Long id); |
| | | R activityinfo(@RequestParam("id") Long id,@RequestParam("userId") Long userId); |
| | | |
| | | /** |
| | | * 查询指定社区的所有党员 |
| | |
| | | * @return 党员列表 |
| | | */ |
| | | @PostMapping("/partybuildIng/listPartyMember") |
| | | R listPartyMember(@RequestParam("communityId")Integer communityId); |
| | | R listPartyMember(@RequestParam("communityId")Long communityId); |
| | | |
| | | /** |
| | | * 社区下拉选择身份 |
| | |
| | | */ |
| | | @PostMapping("/partybuildIng/cancelactivity") |
| | | R cancelActivity(@RequestBody PartyBuildingActivityVO partyBuildingActivityVO); |
| | | |
| | | /** |
| | | * 用户的所有党建活动 |
| | | * @param userId 用户id |
| | | * @return 党建活动列表 |
| | | */ |
| | | @PostMapping("/partybuildIng/listactivity") |
| | | R listActivity(@RequestParam("userId") Long userId); |
| | | |
| | | /** |
| | | * 党员活动人员参入列表 |
| | | * @param id 活动id |
| | | * @return 党员集合 |
| | | */ |
| | | @PostMapping("/partybuildIng/listpartybuildingmember") |
| | | R listPartyBuildingMember(@RequestParam("id")Long id); |
| | | |
| | | /** |
| | | * 报名、取消报名党员活动 |
| | | * @param activitySignUpDTO 操作参数 |
| | | * @return 操作结果 |
| | | */ |
| | | @PostMapping("/partybuildIng/putactivitysignup") |
| | | R putActivitySignUp(@RequestBody ActivitySignUpDTO activitySignUpDTO); |
| | | } |