| | |
| | | @RequestParam(value = "page", required = false) Integer page, |
| | | @RequestParam(value = "size", required = false) Integer size, |
| | | @RequestParam(value = "belongTo", required = false) String belongTo, |
| | | @RequestParam(value = "unitId", required = false) Long unitId) { |
| | | return communityService.institutionalUnitServiceAnalysis(year, type, range, communityId, page, size, belongTo, unitId, this.getLoginUserInfo().getAccount()); |
| | | @RequestParam(value = "unitId", required = false) Long unitId, |
| | | @RequestParam(value = "searchContent",required = false) String searchContent) { |
| | | return communityService.institutionalUnitServiceAnalysis(year, type, range, communityId, page, |
| | | size, belongTo, unitId, this.getLoginUserInfo().getAccount(),searchContent); |
| | | } |
| | | |
| | | |
| | |
| | | @RequestParam(value = "size",required = false) Integer size, |
| | | @RequestParam(value = "belongTo",required = false) String belongTo, |
| | | @RequestParam(value = "unitId",required = false) Long unitId, |
| | | @RequestParam(value = "loginAccount",required = false) String loginAccount); |
| | | @RequestParam(value = "loginAccount",required = false) String loginAccount, |
| | | @RequestParam(value = "searchContent",required = false) String searchContent); |
| | | |
| | | @GetMapping("/neighbor/export") |
| | | public List<ExcelDO> export(@RequestParam(value = "year",required = false) Integer year, |
| | |
| | | @RequestParam(value = "page", required = false) Integer page, |
| | | @RequestParam(value = "size", required = false) Integer size, |
| | | @RequestParam(value = "belongTo", required = false) String belongTo, |
| | | @RequestParam(value = "unitId", required = false) Long unitId) { |
| | | return communityService.institutionalUnitServiceAnalysis(year, type, range, communityId, page, size, belongTo, unitId, null); |
| | | @RequestParam(value = "unitId", required = false) Long unitId, |
| | | @RequestParam(value = "searchContent", required = false) String searchContent |
| | | ) { |
| | | return communityService.institutionalUnitServiceAnalysis(year, type, range, communityId, page, size, belongTo, |
| | | unitId, null,searchContent); |
| | | } |
| | | |
| | | /** |
| | |
| | | @RequestParam(value = "belongTo",required = false) String belongTo, |
| | | @RequestParam(value = "page",required = false) Integer page, |
| | | @RequestParam(value = "size",required = false) Integer size, |
| | | @RequestParam(value = "unitId",required = false) Long unitId){ |
| | | return communityService.institutionalUnitServiceAnalysis(year,type,range,communityId,page,size,belongTo,unitId,this.getLoginUserInfo().getAccount()); |
| | | @RequestParam(value = "unitId",required = false) Long unitId, |
| | | @RequestParam(value = "searchContent", required = false) String searchContent){ |
| | | return communityService.institutionalUnitServiceAnalysis(year,type,range,communityId,page,size,belongTo,unitId, |
| | | this.getLoginUserInfo().getAccount(),searchContent); |
| | | } |
| | | |
| | | @GetMapping("/exportExcel") |
| | |
| | | @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); |
| | | @RequestParam(value = "loginAccount",required = false) String loginAccount, |
| | | @RequestParam(value = "searchContent",required = false) String searchContent){ |
| | | return this.comActNeighborCircleService.institutionalUnitServiceAnalysis(year,type,range,communityId,page,size,belongTo,unitId,searchContent); |
| | | } |
| | | |
| | | /** |
| | |
| | | List<UnitActivityAnalysisVO> institutionalUnitServiceAnalysis(@Param("beginTime") String beginTime, @Param("endTime") String endTIme, @Param("belongTo") String belongTo,@Param("communityId") Long communityId); |
| | | List<UnitActivityAnalysisVO> institutionalUnitActivityAnalysis(@Param("beginTime") String beginTime, @Param("endTime") String endTIme, @Param("belongTo") String belongTo,@Param("communityId") Long communityId); |
| | | |
| | | List<PartyMemberAnalysisVO> institutionalPartyMemberServiceAnalysis(@Param("beginTime") String beginTime, @Param("endTime") String endTIme, @Param("belongTo") String belongTo,@Param("communityId") Long communityId,@Param("unitId") Long unitId); |
| | | List<PartyMemberAnalysisVO> institutionalPartyMemberActAnalysis(@Param("beginTime") String beginTime, @Param("endTime") String endTIme, @Param("belongTo") String belongTo,@Param("communityId") Long communityId,@Param("unitId") Long unitId); |
| | | List<PartyMemberAnalysisVO> institutionalPartyMemberServiceAnalysis(@Param("beginTime") String beginTime, |
| | | @Param("endTime") String endTIme, |
| | | @Param("belongTo") String belongTo, |
| | | @Param("communityId") Long communityId, |
| | | @Param("unitId") Long unitId, |
| | | @Param("searchContent") String searchContent |
| | | ); |
| | | List<PartyMemberAnalysisVO> institutionalPartyMemberActAnalysis(@Param("beginTime") String beginTime, |
| | | @Param("endTime") String endTIme, |
| | | @Param("belongTo") String belongTo, |
| | | @Param("communityId") Long communityId, |
| | | @Param("unitId") Long unitId, |
| | | @Param("searchContent") String searchContent); |
| | | List<PartyMemberAnalysisVO> institutionalPartyMemberServiceAnalysisByServicesTimes(@Param("beginTime") String beginTime, @Param("endTime") String endTIme, @Param("belongTo") String belongTo); |
| | | |
| | | /** |
| | |
| | | * 机关单位服务统计排行 |
| | | * @return |
| | | * */ |
| | | R institutionalUnitServiceAnalysis(Integer year, Integer type, Integer range,Long communityId,Integer page,Integer size,String belongTo,Long unitId); |
| | | R institutionalUnitServiceAnalysis(Integer year, Integer type, Integer range,Long communityId, |
| | | Integer page,Integer size,String belongTo,Long unitId,String searchContent); |
| | | |
| | | /** |
| | | * 导出 |
| | |
| | | } |
| | | |
| | | @Override |
| | | public R institutionalUnitServiceAnalysis(Integer year, Integer type, Integer range, Long communityId,Integer page,Integer size,String belongTo,Long unitId) { |
| | | public R institutionalUnitServiceAnalysis(Integer year, Integer type, Integer range, Long communityId, |
| | | Integer page,Integer size,String belongTo,Long unitId,String searchContent) { |
| | | ActivityAnalysisVO activityVO=new ActivityAnalysisVO(); |
| | | String beginTime=null; |
| | | String endTime=null; |
| | |
| | | } |
| | | } |
| | | //获取党员活动统计数据 |
| | | List<PartyMemberAnalysisVO> partyMemberAnalysisVOS = comActNeighborCircleDAO.institutionalPartyMemberServiceAnalysis(beginTime, endTime, belongTo,communityId,unitId); |
| | | List<PartyMemberAnalysisVO> partyMemberAnalysisVOS1 = comActNeighborCircleDAO.institutionalPartyMemberActAnalysis(beginTime, endTime, belongTo,communityId,unitId); |
| | | List<PartyMemberAnalysisVO> partyMemberAnalysisVOS = comActNeighborCircleDAO.institutionalPartyMemberServiceAnalysis(beginTime, endTime, belongTo,communityId,unitId,searchContent); |
| | | List<PartyMemberAnalysisVO> partyMemberAnalysisVOS1 = comActNeighborCircleDAO.institutionalPartyMemberActAnalysis(beginTime, endTime, belongTo,communityId,unitId,searchContent); |
| | | if (partyMemberAnalysisVOS1.size()>0){ |
| | | for (PartyMemberAnalysisVO vo : partyMemberAnalysisVOS1) { |
| | | if (ObjectUtils.isNotEmpty(vo)){ |
| | |
| | | endTime=year.toString().concat("-12-31"); |
| | | } |
| | | //获取党员活动统计数据 |
| | | List<PartyMemberAnalysisVO> partyMemberAnalysisVOS = comActNeighborCircleDAO.institutionalPartyMemberServiceAnalysis(beginTime, endTime, belongTo,communityId,unitId); |
| | | List<PartyMemberAnalysisVO> partyMemberAnalysisVOS1 = comActNeighborCircleDAO.institutionalPartyMemberActAnalysis(beginTime, endTime, belongTo,communityId,unitId); |
| | | List<PartyMemberAnalysisVO> partyMemberAnalysisVOS = comActNeighborCircleDAO.institutionalPartyMemberServiceAnalysis(beginTime, endTime, belongTo,communityId,unitId,null); |
| | | List<PartyMemberAnalysisVO> partyMemberAnalysisVOS1 = comActNeighborCircleDAO.institutionalPartyMemberActAnalysis(beginTime, endTime, belongTo,communityId,unitId,null); |
| | | if (partyMemberAnalysisVOS1.size()>0){ |
| | | for (PartyMemberAnalysisVO vo : partyMemberAnalysisVOS1) { |
| | | if (ObjectUtils.isNotEmpty(vo)){ |
| | |
| | | // endTime=year.toString().concat("-12-31"); |
| | | // } |
| | | activityVO.setUnitCount(comActDAO.arriveUnit(belongTo)); |
| | | R r = communityService.institutionalUnitServiceAnalysis(year, null, null, null, null, null, belongTo, null, null); |
| | | R r = communityService.institutionalUnitServiceAnalysis(year, null, null, null, |
| | | null, null, belongTo, null, null,null); |
| | | Object data = r.getData(); |
| | | String jsonString = JSON.toJSONString(data); |
| | | ActivityAnalysisVO activityAnalysisVO = JSON.parseObject(jsonString, ActivityAnalysisVO.class); |
| | |
| | | <if test="unitId != null"> |
| | | and cpcu.id=#{unitId} |
| | | </if> |
| | | <if test="searchContent != null and searchContent != ''"> |
| | | and (su.name like concat('%',#{searchContent},'%') |
| | | or su.phone like concat('%',#{searchContent},'%') |
| | | or ca.name like concat('%',#{searchContent},'%') |
| | | or cpcu.name like concat('%',#{searchContent},'%')) |
| | | </if> |
| | | GROUP BY caa.id,caar.user_id |
| | | ) temp GROUP BY memberId |
| | | having serviceTimes<>'' and serviceTime<>'' and memberName<>'' |
| | |
| | | <if test="unitId != null"> |
| | | and cpcu.id=#{unitId} |
| | | </if> |
| | | <if test="searchContent != null and searchContent != ''"> |
| | | and (su.name like concat('%',#{searchContent},'%') |
| | | or su.phone like concat('%',#{searchContent},'%') |
| | | or ca.name like concat('%',#{searchContent},'%') |
| | | or cpcu.name like concat('%',#{searchContent},'%')) |
| | | </if> |
| | | GROUP BY (canc.solve_id) |
| | | having serviceTimes<>'' and serviceTime<>'' and memberName<>'' |
| | | order by serviceTime desc |