| | |
| | | |
| | | 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; |
| | |
| | | * |
| | | * @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-小区列表 |
| | |
| | | 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 pageRegisterHomeQuarantine(PageReserveRegisterDetailedAdminDTO detailedAdminDTO); |
| | | |
| | | /** |
| | | * 居家隔离导出 |
| | | * @param pageReserveRegisterDetailedAdminDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("/reserve/admin/homeQuarantine/export") |
| | | R exportHomeQuarantine(@RequestBody PageReserveRegisterDetailedAdminDTO pageReserveRegisterDetailedAdminDTO); |
| | | |
| | | /** |
| | | * 分页查询物业宣传 |
| | | * @param pageComPropertyPublicityDTO |
| | | * @return |
| | |
| | | */ |
| | | @GetMapping("/property/publicity/incr-view") |
| | | R incrPropertyPublicityView(@RequestParam("id") Long id); |
| | | |
| | | /** |
| | | * 居家隔离导出 |
| | | * @param pageReserveRegisterDetailedAdminDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("/reserve/admin/homeQuarantine/export") |
| | | R exportHomeQuarantine(@RequestBody PageReserveRegisterDetailedAdminDTO pageReserveRegisterDetailedAdminDTO); |
| | | |
| | | /** |
| | | * 获取预设图片 |
| | |
| | | @GetMapping("/rentingHourseRegister/updateAllHouseUnionAppCode") |
| | | @Async |
| | | void updateAllHouseUnionAppCode(); |
| | | |
| | | /** |
| | | * 西区大屏治理数据 |
| | | */ |
| | | @GetMapping("/screen/getWestScreenStatics") |
| | | R westScreenStatics(); |
| | | |
| | | /** |
| | | * 西区大屏一标三实数据 |
| | | * @return 西区大屏一标三实数据 |
| | | */ |
| | | @GetMapping("/screen/getComprehensivePopulationStatics") |
| | | R getComprehensivePopulationStatics(@RequestParam("streetId") Long streetId); |
| | | |
| | | @GetMapping("/screen/getComprehensiveStreetList") |
| | | R getComprehensiveStreetList(); |
| | | |
| | | /** |
| | | * 通过社区id查询社区账号密码 |
| | | * @param communityId 社区id |
| | | * @return 查询社区账号密码 |
| | | */ |
| | | @GetMapping("/screen/getCommunityPassword") |
| | | R getCommunityPassword(@RequestParam("communityId") Long communityId); |
| | | |
| | | @GetMapping("/reserve/bigScreenStaticsReserve") |
| | | R bigScreenStaticsReserve(@RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 党员活动折线图 |
| | | * @param communityId |
| | | * @return |
| | | */ |
| | | @GetMapping("/bigscreen/party/partyActivityLine") |
| | | R partyActivityLine(@RequestParam("communityId")Long communityId); |
| | | |
| | | /** |
| | | * 党员积分前3 |
| | | * @param pageBigScreenStatisticPartyOrg |
| | | * @return |
| | | */ |
| | | @PostMapping("/bigscreen/party/partyActivityTop") |
| | | R partyActivityTop(@RequestBody PageBigScreenStatisticPartyOrg pageBigScreenStatisticPartyOrg); |
| | | |
| | | /** |
| | | * 社区服务大屏数据分析接口 |
| | | */ |
| | | @GetMapping("/screen/serviceData") |
| | | R serviceData(@RequestParam("communityId")Long communityId); |
| | | |
| | | /** |
| | | * 服务居民接口 |
| | | */ |
| | | @GetMapping("/screen/serviceUser") |
| | | R serviceUser(@RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 大数据分析平台-居民自治 |
| | | * @param communityId |
| | | * @return |
| | | */ |
| | | @GetMapping("/screen/resident/autonomy") |
| | | R getResidentAutonomy(@RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 大数据分析平台-清网治格 |
| | | * @param communityId |
| | | * @return |
| | | */ |
| | | @GetMapping("/screen/grids/governance") |
| | | R getGridsGovernance(@RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 大数据分析平台-社区服务 |
| | | * @param communityId |
| | | * @return |
| | | */ |
| | | @GetMapping("/screen/community/service") |
| | | R getCommunityServiceStatistics(@RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 分页获取热度排行商家 |
| | | * @param pagePopularMerchantDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("/screen/merchant/popular") |
| | | R getScreenPopularMerchants(@RequestBody PagePopularMerchantDTO pagePopularMerchantDTO); |
| | | |
| | | /** |
| | | * 新版大屏首页接口 |
| | | */ |
| | | @GetMapping("/screen/indexInfo") |
| | | R indexInfo(@RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 首页二级页面-微心愿 |
| | | * @param communityId |
| | | * @return |
| | | */ |
| | | @GetMapping("/screen/index/microWish") |
| | | R indexMicroWish(@RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 首页二级页面-随手拍 |
| | | * @param communityId |
| | | * @return |
| | | */ |
| | | @GetMapping("/screen/index/easyPhoto") |
| | | R indexEasyPhoto(@RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 首页二级页面-随手拍展示列表 |
| | | * @return |
| | | */ |
| | | @PostMapping("/screen/index/easyPhotoList") |
| | | R indexEasyPhotoList(@RequestBody PageBaseDTO pageBaseDTO); |
| | | |
| | | /** |
| | | * 首页二级页面-社区问卷 |
| | | * @param communityId |
| | | * @return |
| | | */ |
| | | @GetMapping("/screen/index/questionnaire") |
| | | R indexQuestionnaire(@RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 首页二级页面-社区动态 |
| | | * @param communityId |
| | | * @return |
| | | */ |
| | | @GetMapping("/screen/index/dyn") |
| | | R indexDyn(@RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 首页二级页面-社区动态展示列表 |
| | | * @param pageBaseDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("/screen/index/dynList") |
| | | R indexDynList(@RequestBody PageBaseDTO pageBaseDTO); |
| | | |
| | | /** |
| | | * 首页二级页面-邻里圈 |
| | | * @param communityId |
| | | * @return |
| | | */ |
| | | @GetMapping("/screen/index/neighbor") |
| | | R indexNeighbor(@RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 首页二级页面-邻里圈展示列表 |
| | | * @param pageBaseDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("/screen/index/neighborList") |
| | | R indexNeighborList(@RequestBody PageBaseDTO pageBaseDTO); |
| | | |
| | | /** |
| | | * 首页二级页面-便民商家 |
| | | * @param communityId |
| | | * @return |
| | | */ |
| | | @GetMapping("/screen/index/merchant") |
| | | R indexMerchant(@RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 首页二级页面-商家展示列表 |
| | | * @param pageBaseDTO |
| | | * @return |
| | | */ |
| | | @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); |
| | | } |