| | |
| | | if (userProportions.size()>0){ |
| | | for (UserProportion userProportion : userProportions) { |
| | | if (org.apache.commons.lang3.ObjectUtils.isNotEmpty(userProportion)){ |
| | | log.info("统计数据"+userProportion); |
| | | UserRateAnalysisVO vo=new UserRateAnalysisVO(); |
| | | if (monthRange){ |
| | | if (userProportion.getCommunityId().equals("11")){ |
| | |
| | | } |
| | | vo.setName(typeToName(type,userProportion )); |
| | | vo.setCount(userProportion.getUser()); |
| | | log.info("统计后数据+"+vo); |
| | | userRateAnalysisVOList.add(vo); |
| | | } |
| | | } |
| | |
| | | userRate.setUserList(userRateAnalysisVOList); |
| | | return R.ok(userRate); |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public R realUser(Integer type, Long streetId, Long areaCode, Integer range) { |
| | |
| | | } |
| | | return R.ok(); |
| | | } |
| | | |
| | | @Override |
| | | public R getAreaAndStreet() { |
| | | List<Integer> areaCodeList=areaCodeList(); |
| | |
| | | return R.ok(areaVOList); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 获取最近20天数据 |
| | | * |