企业spark案例 —出租车轨迹分析( 三 )

taxiPlatform = mainMapper.findTaxiPlatform();List resultList = new ArrayList<>();for (String s : taxiPlatform) {List serviceNumByPlatform = mainMapper.findServiceNumByPlatform(s);Chart_Radar chart_radar = new Chart_Radar(s, serviceNumByPlatform);resultList.add(chart_radar);}map.put("resultData", resultList);map.put("legendData", taxiPlatform);map.put("indicator", indicatorList);return map;}/**********end**********/}