| | |
| | | * @param areaCode |
| | | * @return 党员列表 |
| | | */ |
| | | IPage<PartyBuildingMemberVO> getOrgDataStatisticsMember(@Param("page") Page page, @Param("communityId") Long communityId, @Param("orgIds") List<Long> orgIds, @Param("areaCode") String areaCode); |
| | | IPage<PartyBuildingMemberVO> getOrgDataStatisticsMember(@Param("page") Page page, |
| | | @Param("communityId") Long communityId, |
| | | @Param("orgIds") List<Long> orgIds, |
| | | @Param("areaCode") String areaCode); |
| | | |
| | | /** |
| | | * 查询社区党组织下某个时间段统计数据 |
| | |
| | | * @param endDate 查询结束时间 |
| | | * @return 社区党组织下某个时间段统计数据 |
| | | */ |
| | | Map<String,Object> getOrgDataStatisticsRightDown(@Param("communityId") Long communityId,@Param("orgIds") List<Long> orgIds,@Param("startDate") String startDate,@Param("endDate") String endDate); |
| | | Map<String,Object> getOrgDataStatisticsRightDown(@Param("communityId") Long communityId, |
| | | @Param("orgIds") List<Long> orgIds, |
| | | @Param("startDate") String startDate, |
| | | @Param("endDate") String endDate); |
| | | |
| | | /** |
| | | * 查询党组织表头统计数据 |
| | |
| | | } |
| | | |
| | | //查询左下数据 |
| | | statisticsVo = comPbMemberDAO.getOrgDataStatisticsLeftDown(communityId,orgIds,startTime,endTime); |
| | | statisticsVo = comPbMemberDAO.getOrgDataStatisticsLeftDown(communityId,orgIds,startTime,endTime,""); |
| | | if(statisticsVo != null){ |
| | | statisticsOrgVo.setParticipateVolunteerActivityDuration(statisticsVo.getParticipateVolunteerActivityDuration()); |
| | | statisticsOrgVo.setParticipateVolunteerActivityNum(statisticsVo.getParticipateVolunteerActivityNum()); |
| | |
| | | } |
| | | |
| | | //查询党员数据 |
| | | IPage<PartyBuildingMemberVO> partyMemberPage = comPbMemberDAO.getOrgDataStatisticsMember(new Page(statisticsOrgDto.getPageNum() |
| | | ,statisticsOrgDto.getPageSize()),communityId,orgIds); |
| | | IPage<PartyBuildingMemberVO> partyMemberPage = comPbMemberDAO.getOrgDataStatisticsMember( |
| | | new Page(statisticsOrgDto.getPageNum() |
| | | ,statisticsOrgDto.getPageSize()),communityId,orgIds,""); |
| | | if(partyMemberPage.getRecords() != null && !partyMemberPage.getRecords().isEmpty()){ |
| | | statisticsOrgVo.setPartyMemberList(partyMemberPage.getRecords()); |
| | | } |
| | |
| | | List<String> completeEasyList = new ArrayList<>(); |
| | | List<String> cumulativeEasyList = new ArrayList<>(); |
| | | for (int i = 0; i < startDateList.size(); i++) { |
| | | Map<String,Object> statisticsMap = comPbMemberDAO.getOrgDataStatisticsRightDown(communityId,orgIds, startDateList.get(i) + " 00:00:00", endDateList.get(i) + " 23:59:59"); |
| | | Map<String,Object> statisticsMap = comPbMemberDAO.getOrgDataStatisticsRightDown(communityId,orgIds, |
| | | startDateList.get(i) + " 00:00:00", endDateList.get(i) + " 23:59:59"); |
| | | if(statisticsMap != null){ |
| | | completeWishList.add(statisticsMap.get("completeWishNum").toString()); |
| | | cumulativeWishList.add(statisticsMap.get("cumulativeWishNum").toString()); |