| | |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.panzhihua.common.model.dtos.PageBaseDTO; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.scheduling.annotation.Async; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | |
| | | import com.panzhihua.common.model.vos.community.BatchhouseVO; |
| | | import com.panzhihua.common.model.vos.community.ComActActEvaluateVO; |
| | | import com.panzhihua.common.model.vos.community.ComActActRegistVO; |
| | | import com.panzhihua.common.model.vos.community.ComActActivityTypeVO; |
| | | import com.panzhihua.common.model.vos.community.ComActActivityVO; |
| | | import com.panzhihua.common.model.vos.community.ComActAnnouncementVO; |
| | | import com.panzhihua.common.model.vos.community.ComActColumnVO; |
| | |
| | | import com.panzhihua.common.model.vos.community.ComSwRotaExcelVO; |
| | | import com.panzhihua.common.model.vos.community.EldersAuthDetailsVO; |
| | | import com.panzhihua.common.model.vos.community.EldersAuthElderlyExcelVO; |
| | | import com.panzhihua.common.model.vos.community.QRActivityCodeVO; |
| | | import com.panzhihua.common.model.vos.community.ResetComActMessageVO; |
| | | import com.panzhihua.common.model.vos.community.SignactivityVO; |
| | | import com.panzhihua.common.model.vos.community.bigscreen.BigScreenStatisticAgeGender; |
| | |
| | | * |
| | | * @param userId |
| | | * 用户id |
| | | * @param status |
| | | * @return 活动列表 |
| | | */ |
| | | @PostMapping("listactivity") |
| | | R listActivity(@RequestParam("userId") Long userId); |
| | | R listActivity(@RequestParam("userId") Long userId, @RequestParam(value = "status", required = false) Integer status); |
| | | |
| | | /** |
| | | * 用户确认心愿 |
| | |
| | | * @return 社区集合 按照创建顺序倒序排列 |
| | | */ |
| | | @PostMapping("listcommunityall") |
| | | R listCommunityAll(); |
| | | R listCommunityAll(@RequestParam("areaCode")String areaCode); |
| | | |
| | | /** |
| | | * 首页广告banner |
| | |
| | | * @return 社区列表 |
| | | */ |
| | | @GetMapping("/eventgrid/community/westList") |
| | | R getWestCommunityLists(); |
| | | R getWestCommunityLists(String areaCode); |
| | | |
| | | /** |
| | | * 综治app-小区列表 |
| | | * @param villageListAppDTO 请求参数 |
| | | * @return 小区列表 |
| | | */ |
| | | @PostMapping("/village/grid/list/app") |
| | | R getGridVillageListApp(@RequestBody ComMngVillageListAppDTO villageListAppDTO); |
| | | |
| | | /** |
| | | * 分页查询退役军人列表 |
| | |
| | | R addIntegralTradeAdmin(@RequestBody AddComActIntegralUserDTO integralUserDTO); |
| | | |
| | | /** |
| | | * 根据社区活动id查询社区活动报名人员列表 |
| | | * 根据社区活动id查询社区活动报名且未参与人员列表 |
| | | * |
| | | * @param activityId |
| | | * 活动id |
| | | * @return 社区活动报名人员列表 |
| | | * @return 社区活动报名且未参与人员列表 |
| | | */ |
| | | @PostMapping("/integral/act/activity/admin") |
| | | R getTaskActivityPeopleList(@RequestParam("activityId") Long activityId); |
| | |
| | | * @return 社区列表 |
| | | */ |
| | | @GetMapping("/switch/community/all/list") |
| | | R communitySwitchList(); |
| | | R communitySwitchList(@RequestParam("areaCode") String areaCode); |
| | | |
| | | /** |
| | | * 根据名字查询所有社区列表 |
| | |
| | | * @return 社区列表 |
| | | */ |
| | | @GetMapping("/switch/community/search/list") |
| | | R communitySwitchSearchList(@RequestParam(value = "name") String name); |
| | | R communitySwitchSearchList(@RequestParam(value = "name") String name,@RequestParam(value = "areaCode") String areaCode); |
| | | |
| | | /** |
| | | * 根据经纬度以及距离搜索附近社区列表 |
| | |
| | | R applyDonates(@RequestBody ComActWarehouseApplyDTO comActWarehouseApplyDTO); |
| | | |
| | | /** |
| | | * 生成二维码 |
| | | * @param qrCodeVO |
| | | * @return |
| | | */ |
| | | @PostMapping("/comActActivityCode/getQRCode") |
| | | public R getQRCode(@RequestBody QRActivityCodeVO qrCodeVO); |
| | | |
| | | /** |
| | | * 重置二维码 |
| | | * @param qrCodeVO |
| | | * @return |
| | | */ |
| | | @PostMapping("/comActActivityCode/resetQRCode") |
| | | public R resetQRCode(@RequestBody QRActivityCodeVO qrCodeVO); |
| | | |
| | | /** |
| | | * 实有房屋数据修复定时任务 |
| | | * @return 实有房屋数据修复定时任务 |
| | | */ |
| | |
| | | */ |
| | | @PostMapping("/elders/pensionAuthRecord/add") |
| | | R addPensionAuthRecordVO(@RequestBody ComElderAuthRecordVO comElderAuthRecordVO); |
| | | /** |
| | | * 活动报名签到情况 |
| | | * @param id 活动主键id |
| | | * @return |
| | | */ |
| | | @GetMapping("/activity/sign-in/list") |
| | | R listSignInRecord(@RequestParam("id") Long id); |
| | | |
| | | /** |
| | | * 活动签到记录 |
| | | * @param id 活动主键 |
| | | * @param userId 用户id |
| | | * @return |
| | | */ |
| | | @GetMapping("/activity/regist/list") |
| | | R listRegistRecord(@RequestParam("id") Long id, @RequestParam("userId") Long userId); |
| | | |
| | | /** |
| | | * 获取活动类型(目前只有志愿者活动需要获取) |
| | | * @param communityId |
| | | * @param type |
| | | * @return |
| | | */ |
| | | @GetMapping("/activity/type/list") |
| | | R listActivityType(@RequestParam("communityId") Long communityId, @RequestParam("type") Integer type); |
| | | |
| | | /** |
| | | * 添加活动类型 |
| | | * @param comActActivityTypeVO |
| | | * @return |
| | | */ |
| | | @PostMapping("/activity/type/add") |
| | | R addActivityType(@RequestBody ComActActivityTypeVO comActActivityTypeVO); |
| | | |
| | | /** |
| | | * 我的评价 |
| | | * @param userId |
| | | * @param activityId |
| | | * @return |
| | | */ |
| | | @GetMapping("/activity/my-evaluate") |
| | | R listMyActivityEvaluate(@RequestParam("userId") Long userId, @RequestParam("activityId") Long activityId); |
| | | |
| | | /** |
| | | * 分页查询居家隔离统计 |
| | |
| | | |
| | | /** |
| | | * 党员积分前3 |
| | | * @param communityId |
| | | * @param pageBigScreenStatisticPartyOrg |
| | | * @return |
| | | */ |
| | | @GetMapping("/bigscreen/party/partyActivityTop") |
| | | R partyActivityTop(@RequestParam("communityId")Long communityId); |
| | | @PostMapping("/bigscreen/party/partyActivityTop") |
| | | R partyActivityTop(@RequestBody PageBigScreenStatisticPartyOrg pageBigScreenStatisticPartyOrg); |
| | | |
| | | /** |
| | | * 社区服务大屏数据分析接口 |
| | |
| | | |
| | | /** |
| | | * 首页二级页面-随手拍展示列表 |
| | | * @param communityId |
| | | * @param classifyId |
| | | * @return |
| | | */ |
| | | @GetMapping("/screen/index/easyPhotoList") |
| | | R indexEasyPhotoList(@RequestParam("communityId") Long communityId, @RequestParam(value = "classifyId", required = false) Long classifyId); |
| | | @PostMapping("/screen/index/easyPhotoList") |
| | | R indexEasyPhotoList(@RequestBody PageBaseDTO pageBaseDTO); |
| | | |
| | | /** |
| | | * 首页二级页面-社区问卷 |
| | |
| | | |
| | | /** |
| | | * 首页二级页面-社区动态展示列表 |
| | | * @param communityId |
| | | * @param type |
| | | * @param pageBaseDTO |
| | | * @return |
| | | */ |
| | | @GetMapping("/screen/index/dynList") |
| | | R indexDynList(@RequestParam("communityId") Long communityId, @RequestParam(value = "type", required = false) Long type); |
| | | @PostMapping("/screen/index/dynList") |
| | | R indexDynList(@RequestBody PageBaseDTO pageBaseDTO); |
| | | |
| | | /** |
| | | * 首页二级页面-邻里圈 |
| | |
| | | |
| | | /** |
| | | * 首页二级页面-邻里圈展示列表 |
| | | * @param communityId |
| | | * @param topicId |
| | | * @param pageBaseDTO |
| | | * @return |
| | | */ |
| | | @GetMapping("/screen/index/neighborList") |
| | | R indexNeighborList(@RequestParam("communityId") Long communityId, @RequestParam(value = "topicId", required = false) Long topicId); |
| | | @PostMapping("/screen/index/neighborList") |
| | | R indexNeighborList(@RequestBody PageBaseDTO pageBaseDTO); |
| | | |
| | | /** |
| | | * 首页二级页面-便民商家 |
| | |
| | | |
| | | /** |
| | | * 首页二级页面-商家展示列表 |
| | | * @param communityId |
| | | * @param categoryId |
| | | * @param pageBaseDTO |
| | | * @return |
| | | */ |
| | | @GetMapping("/screen/index/merchantList") |
| | | R indexMerchantList(@RequestParam("communityId") Long communityId, @RequestParam(value = "categoryId", required = false) Long categoryId); |
| | | @PostMapping("/screen/index/merchantList") |
| | | R indexMerchantList(@RequestBody PageBaseDTO pageBaseDTO); |
| | | |
| | | /** |
| | | * 首页二级页面-微心愿展示列表 |
| | | * @param pageBaseDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("/screen/index/microWishList") |
| | | R indexMicroWishList(@RequestBody PageBaseDTO pageBaseDTO); |
| | | |
| | | /** |
| | | * 首页二级页面-社区问卷展示列表 |
| | | * @param pageBaseDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("/screen/index/questionnaireList") |
| | | R indexQuestionnaireList(@RequestBody PageBaseDTO pageBaseDTO); |
| | | |
| | | /** |
| | | * 首页二级页面-居民活动 |
| | | * @param communityId |
| | | * @return |
| | | */ |
| | | @GetMapping("/screen/index/residentAct") |
| | | R indexResidentAct(@RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 首页二级页面-居民活动展示列表 |
| | | * @param pageBaseDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("/screen/index/residentActList") |
| | | R indexResidentActList(@RequestBody PageBaseDTO pageBaseDTO); |
| | | |
| | | /** |
| | | * 首页二级页面-志愿者活动 |
| | | * @param communityId |
| | | * @return |
| | | */ |
| | | @GetMapping("/screen/index/volunteerAct") |
| | | R indexVolunteerAct(@RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 首页二级页面-志愿者活动展示列表 |
| | | * @param pageBaseDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("/screen/index/volunteerActList") |
| | | R indexVolunteerActList(@RequestBody PageBaseDTO pageBaseDTO); |
| | | |
| | | /** |
| | | * 清网治格-根据事件分类获取近1月的社区事件数据 |
| | | * @param type |
| | | * @param communityId |
| | | * @return |
| | | */ |
| | | @GetMapping("/screen/event/list") |
| | | R getEventList(@RequestParam(value = "type") Integer type, @RequestParam(value = "communityId") Long communityId); |
| | | |
| | | /** |
| | | * 清网治格-社区事件数据分页 |
| | | * @param pageBaseDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("/screen/event/page") |
| | | R pageEventList(@RequestBody PageBaseDTO pageBaseDTO); |
| | | } |