| | |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.panzhihua.common.exceptions.ServiceException; |
| | | import com.panzhihua.common.model.dtos.community.PageComActDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.SystemmanagementConfigVO; |
| | | import com.panzhihua.common.model.vos.community.*; |
| | |
| | | return R.ok(); |
| | | } |
| | | |
| | | /** |
| | | * 社区详情 |
| | | * @param communityId 社区id |
| | | * @return 社区详情 |
| | | */ |
| | | @PostMapping("detailcommunity") |
| | | public R detailCommunity(@RequestParam("communityId") Long communityId){ |
| | | return comActService.detailCommunity(communityId); |
| | | } |
| | | |
| | | /** |
| | | * 小区详情 |
| | | * @param areaId 小区id |
| | | * @return 小区信息 |
| | | */ |
| | | @PostMapping("detailarea") |
| | | public R detailArea(@RequestParam("areaId")Long areaId){ |
| | | return comMngStructAreaService.detailArea(areaId); |
| | | } |
| | | |
| | | /** |
| | | * 分页查询社区 |
| | | * @param pageComActDTO 查询参数 |
| | | * @return 分页集合 |
| | | */ |
| | | @PostMapping("pagecommunity") |
| | | public R pageCommunity(@RequestBody PageComActDTO pageComActDTO){ |
| | | return comActService.pageCommunity(pageComActDTO); |
| | | } |
| | | |
| | | } |