/**导出到excel * @param * @throws Exception */ @RequestMapping(value="/excel") public ModelAndView exportExcel() throws Exception{ logBefore(logger, Jurisdiction.getUsername()+"导出Entity到excel"); if(!Jurisdiction.buttonJurisdiction(menuUrl, "cha")){return null;} ModelAndView mv = new ModelAndView(); PageData pd = new PageData(); pd = this.getPageData(); Map dataMap = new HashMap(); List titles = new ArrayList(); titles.add("表内id"); //1 titles.add("姓名"); //2 titles.add("实体类型"); //3 titles.add("topicid"); //4 titles.add("评论"); //5// titles.add("0/1,1:已删"); //6 dataMap.put("titles", titles); List varOList = entityService.listAll(pd); List varList = new ArrayList(); for(int i=0;i |