| | |
| | | |
| | | |
| | | @RequestMapping("/openWorldCupGameStatisticsListInfo") |
| | | public String openWorldCupGameStatisticsListInfo(Model model, Integer id){ |
| | | model.addAttribute("id", id); |
| | | public String openWorldCupGameStatisticsListInfo(Model model, Long participantId, Integer participantType){ |
| | | model.addAttribute("participantId", participantId); |
| | | model.addAttribute("participantType", participantType); |
| | | return PREFIX + "worldCupGameStatisticsListInfo.html"; |
| | | } |
| | | |
| | |
| | | public void exportUserStatistics(WorldCupGameStatisticsInfoList worldCupGameStatisticsInfoList, HttpServletResponse response){ |
| | | worldCupGameStatisticsInfoList.setOffset(0); |
| | | worldCupGameStatisticsInfoList.setLimit(100000); |
| | | Map<String, Object> map = worldCupClient.worldCupGameStatisticsInfoList(worldCupGameStatisticsInfoList); |
| | | Map<String, Object> map = worldCupClient.getUserGameRecordList(worldCupGameStatisticsInfoList); |
| | | List<Map<String, Object>> list = (List<Map<String, Object>>)map.get("rows"); |
| | | |
| | | try { |
| | |
| | | values[i] = new String[title.length]; |
| | | values[i][0] = d.get("name").toString(); |
| | | values[i][1] = d.get("phone").toString(); |
| | | values[i][2] = d.get("idcard").toString(); |
| | | values[i][2] = null == d.get("idcard") ? "" : d.get("idcard").toString(); |
| | | values[i][3] = d.get("totalSession").toString(); |
| | | values[i][4] = d.get("win").toString() + "-" + d.get("lose").toString(); |
| | | values[i][5] = d.get("winRate").toString() + "%"; |