| | |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | |
| | | import static java.util.Objects.isNull; |
| | | |
| | | /** |
| | | * @auther lyq |
| | | * @create 2021-04-14 15:02:49 |
| | |
| | | neighborCircleAppDTO.setUserId(loginUserInfo.getUserId()); |
| | | } |
| | | return communityService.pageNeighborByApp(neighborCircleAppDTO); |
| | | } |
| | | |
| | | @ApiOperation(value = "分页查询可关联清单列表", response = ComActNeighborCircleAppVO.class) |
| | | @PostMapping("pageRelationList") |
| | | public R pageRelationList(@RequestBody ComActNeighborCircleAppDTO neighborCircleAppDTO) { |
| | | LoginUserInfoVO loginUserInfo = this.getLoginUserInfoSureNoLogin(); |
| | | if (loginUserInfo != null) { |
| | | neighborCircleAppDTO.setPhone(loginUserInfo.getPhone()); |
| | | neighborCircleAppDTO.setUserId(loginUserInfo.getUserId()); |
| | | neighborCircleAppDTO.setCheckUnitId(loginUserInfo.getCheckUnitId()); |
| | | } |
| | | return communityService.pageRelationList(neighborCircleAppDTO); |
| | | } |
| | | |
| | | @ApiOperation(value = "用户发布邻里圈审核") |
| | |
| | | return this.communityService.serviceStatic(serviceStaticDTO); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 求助我的问题数量统计 |
| | | * @param type |
| | | * @param phone |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "求助我的问题数量统计") |
| | | @GetMapping("/selectCount") |
| | | public R selectCount(@RequestParam("type")Integer type,@RequestParam(value = "phone",required = false)String phone,@RequestParam("communityId")Long communityId){ |
| | | return this.communityService.selectCount(type,phone,communityId); |
| | | } |
| | | } |
| | | |