| | |
| | | import javax.annotation.Resource; |
| | | |
| | | import com.panzhihua.common.model.vos.partybuilding.excel.ComPbMemberRoleExcelVo; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.util.ObjectUtils; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | @PostMapping("pagepartyorganization") |
| | | public R pagePartyOrganization(@RequestBody PagePartyOrganizationVO pagePartyOrganizationVO) { |
| | | return comPbMemberService.pagePartyOrganization(pagePartyOrganizationVO); |
| | | |
| | | } |
| | | |
| | | /** |
| | | * 查询党员信息导出 |
| | | * |
| | | * @param pagePartyOrganizationVO |
| | | * 查询信息 |
| | | * @return 分页数据 |
| | | */ |
| | | @PostMapping("exportPartyMember") |
| | | public R exportPartyMember(@RequestBody PagePartyOrganizationVO pagePartyOrganizationVO) { |
| | | return comPbMemberService.exportPartyMember(pagePartyOrganizationVO); |
| | | |
| | | } |
| | | |
| | |
| | | * @param userId 用户id |
| | | * @return 导入结果 |
| | | */ |
| | | @PostMapping("/partybuildIng/importPbMemberRole") |
| | | @PostMapping("/importPbMemberRole") |
| | | public R importPbMemberRole(@RequestBody List<ComPbMemberRoleExcelVo> memberRoleExcelVoList,@RequestParam("communityId") Long communityId,@RequestParam("userId") Long userId){ |
| | | return comPbMemberService.importPbMemberRole(memberRoleExcelVoList,communityId,userId); |
| | | } |
| | | @GetMapping("/checkMember") |
| | | public R checkMember(@RequestParam("idCard")String idCard){ |
| | | return comPbMemberService.checkMember(idCard); |
| | | } |
| | | } |