| | |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | import com.panzhihua.service_community.model.dos.ComActNeighborCircleDO; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | |
| | | @PostMapping("pageNeighborByApp") |
| | | public R pageNeighbor(@RequestBody ComActNeighborCircleAppDTO neighborCircleAppDTO) { |
| | | return comActNeighborCircleService.pageNeighborByApp(neighborCircleAppDTO); |
| | | } |
| | | |
| | | /** |
| | | * 分页查询可关联清单列表 |
| | | * @param neighborCircleAppDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("pageRelationList") |
| | | public R pageRelationList(@RequestBody ComActNeighborCircleAppDTO neighborCircleAppDTO) { |
| | | return comActNeighborCircleService.pageRelationList(neighborCircleAppDTO); |
| | | } |
| | | |
| | | /** |
| | | * 分页查询邻里圈列表 |
| | | * |
| | | * @param neighborCircleAppDTO |
| | | * 请求参数 |
| | | * @return 邻里圈列表 |
| | | */ |
| | | @PostMapping("selectSolve") |
| | | public R selectSolve(@RequestBody ComActNeighborCircleAppDTO neighborCircleAppDTO) { |
| | | return comActNeighborCircleService.selectSolve(neighborCircleAppDTO); |
| | | } |
| | | |
| | | /** |
| | |
| | | return comActNeighborCircleService.deleteNeighborByApp(circleTopicAppDTO); |
| | | } |
| | | |
| | | /** |
| | | * 修改数据 |
| | | * @param editNeighborCircleAdminVO |
| | | * @return |
| | | */ |
| | | @PostMapping("update") |
| | | public R order(@RequestBody EditNeighborCircleAdminVO editNeighborCircleAdminVO){ |
| | | return this.comActNeighborCircleService.orderAndSolve(editNeighborCircleAdminVO); |
| | | } |
| | | |
| | | /** |
| | | * 机关单位服务统计排行 |
| | | * @return |
| | | * */ |
| | | @GetMapping("/activityAnalysis") |
| | | public R institutionalUnitServiceAnalysis(@RequestParam(value = "year",required = false) Integer year,@RequestParam(value = "type",required = false) Integer type, |
| | | @RequestParam(value = "range",required = false)Integer range,@RequestParam(value = "communityId",required = false) Long communityId, |
| | | @RequestParam(value = "page",required = false) Integer page, |
| | | @RequestParam(value = "belongTo",required = false) String belongTo, |
| | | @RequestParam(value = "size",required = false) Integer size, |
| | | @RequestParam(value = "unitId",required = false) Long unitId, |
| | | @RequestParam(value = "loginAccount",required = false) String loginAccount){ |
| | | return this.comActNeighborCircleService.institutionalUnitServiceAnalysis(year,type,range,communityId,page,size,belongTo,unitId); |
| | | } |
| | | |
| | | /** |
| | | * 小程序服务统计 |
| | | * @param serviceStaticDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("/serviceStatic") |
| | | public R serviceStatic(@RequestBody ServiceStaticDTO serviceStaticDTO){ |
| | | return this.comActNeighborCircleService.serviceStatic(serviceStaticDTO); |
| | | } |
| | | |
| | | /** |
| | | * 后台统计 |
| | | * @param serviceStaticDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("/serviceStaticBackstage") |
| | | public R serviceStaticBackstage(@RequestBody ServiceStaticBackstageDTO serviceStaticDTO){ |
| | | return this.comActNeighborCircleService.serviceStaticBackstage(serviceStaticDTO); |
| | | } |
| | | /** |
| | | * 求助我的问题数量统计 |
| | | * @param type |
| | | * @param phone |
| | | * @return |
| | | */ |
| | | @GetMapping("/selectCount") |
| | | public R selectCount(@RequestParam("type")Integer type,@RequestParam(value = "phone",required = false)String phone,@RequestParam("communityId")Long communityId){ |
| | | return this.comActNeighborCircleService.selectCount(type,phone,communityId); |
| | | } |
| | | |
| | | |
| | | } |