| | |
| | | package com.panzhihua.service_community.api; |
| | | |
| | | import java.util.List; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import com.panzhihua.common.controller.BaseController; |
| | | import com.panzhihua.common.model.dtos.community.bigscreen.BigScreenStatisticAgeGenderDTO; |
| | | import com.panzhihua.common.model.dtos.community.bigscreen.BigScreenStatisticPartyActivityDTO; |
| | | import com.panzhihua.common.model.dtos.community.bigscreen.PageBigScreenStatisticPartyOrg; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.community.bigscreen.*; |
| | | import com.panzhihua.common.model.vos.partybuilding.PartyBuildingComPbDynVO; |
| | | import com.panzhihua.common.model.vos.partybuilding.PartyCommitteeVO; |
| | | import com.panzhihua.common.service.partybuilding.PartyBuildingService; |
| | | import com.panzhihua.common.model.vos.community.bigscreen.BigScreenStatisticAgeGender; |
| | | import com.panzhihua.common.model.vos.community.bigscreen.BigScreenStatisticPartyActivity; |
| | | import com.panzhihua.common.model.vos.community.bigscreen.BigScreenStatisticPartyBuild; |
| | | import com.panzhihua.common.model.vos.community.bigscreen.PartyBuildingMemberVO; |
| | | import com.panzhihua.service_community.service.BigScreenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | |
| | | /** |
| | | * @ClasssName BigScreenApi |
| | |
| | | |
| | | /** |
| | | * 党员党支部统计信息 |
| | | * |
| | | * @return |
| | | */ |
| | | @PostMapping("/orgmembers") |
| | | R orgmembers(@RequestBody PageBigScreenStatisticPartyOrg pageBigScreenStatisticPartyOrg){ |
| | | R orgmembers(@RequestBody PageBigScreenStatisticPartyOrg pageBigScreenStatisticPartyOrg) { |
| | | return bigScreenService.partyOrgMembers(pageBigScreenStatisticPartyOrg); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 党员年龄占比、男女占比 |
| | | * 党员年龄占比、男女占比 |
| | | * |
| | | * @return |
| | | */ |
| | | @PostMapping("/ageGender") |
| | | R<BigScreenStatisticAgeGender> ageGender(@RequestBody BigScreenStatisticAgeGenderDTO bigScreenStatisticAgeGenderDTO){ |
| | | R<BigScreenStatisticAgeGender> |
| | | ageGender(@RequestBody BigScreenStatisticAgeGenderDTO bigScreenStatisticAgeGenderDTO) { |
| | | return bigScreenService.ageGender(bigScreenStatisticAgeGenderDTO); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 党建数据概览 |
| | | * 党建数据概览 |
| | | * |
| | | * @return |
| | | */ |
| | | @PostMapping("/partybuild/{communityId}") |
| | | R<BigScreenStatisticPartyBuild> bigscreenPartybuild(@PathVariable("communityId") Long communityId){ |
| | | R<BigScreenStatisticPartyBuild> bigscreenPartybuild(@PathVariable("communityId") Long communityId) { |
| | | return bigScreenService.bigscreenPartybuild(communityId); |
| | | } |
| | | |
| | | /** |
| | | * 党员活动参加用户排行榜-TOP3 |
| | | * |
| | | * @return |
| | | */ |
| | | @PostMapping("/activitytopuser/{communityId}") |
| | | R<List<PartyBuildingMemberVO>> bigscreenPartyactivitytopuser(@PathVariable("communityId") Long communityId){ |
| | | R<List<PartyBuildingMemberVO>> bigscreenPartyactivitytopuser(@PathVariable("communityId") Long communityId) { |
| | | return bigScreenService.bigscreenPartyactivitytopuser(communityId); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 党员活动 |
| | | * |
| | | * @return |
| | | */ |
| | | @PostMapping("/bigscreenPartyactivity") |
| | | R<List<BigScreenStatisticPartyActivity>> bigscreenPartyactivity(@RequestBody BigScreenStatisticPartyActivityDTO bigScreenStatisticPartyActivityDTO){ |
| | | R<List<BigScreenStatisticPartyActivity>> |
| | | bigscreenPartyactivity(@RequestBody BigScreenStatisticPartyActivityDTO bigScreenStatisticPartyActivityDTO) { |
| | | return bigScreenService.bigscreenPartyactivity(bigScreenStatisticPartyActivityDTO); |
| | | } |
| | | } |