| | |
| | | import com.panzhihua.common.model.dtos.property.CommonPage; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.community.ComActFourMemberVO; |
| | | import com.panzhihua.common.model.vos.community.ComMngPopulationVO; |
| | | import com.panzhihua.common.model.vos.community.FourMemberDetailVO; |
| | | import com.panzhihua.common.service.community.CommunityService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | commonPage.setStatus(1); |
| | | return this.communityService.comActFourMemberSelectAll(commonPage); |
| | | } |
| | | /** |
| | | * 分页查询所有数据 |
| | | * |
| | | * @param commonPage 查询实体 |
| | | * @return 所有数据 |
| | | */ |
| | | @ApiOperation(value = "分页查询",response = ComMngPopulationVO.class) |
| | | @PostMapping("queryMember") |
| | | public R selectMember(@RequestBody CommonPage commonPage) { |
| | | commonPage.setParamId(this.getCommunityId()); |
| | | return this.communityService.comActFourMemberQueryMember(commonPage); |
| | | } |
| | | |
| | | /** |
| | | *居民数据详情 |
| | | */ |
| | | @ApiOperation(value = "居民数据详情",response = FourMemberDetailVO.class) |
| | | @GetMapping("/memberDetail") |
| | | public R memberDetail(@RequestParam("id")Long id){ |
| | | return this.communityService.comActFourMemberMemberDetail(id); |
| | | } |
| | | |
| | | } |