Webwork项目POI导出数据到Excel.docVIP

  • 5
  • 0
  • 约9.89千字
  • 约 6页
  • 2017-06-08 发布于河南
  • 举报
Webwork项目POI导出数据到Excel

1.action中获得list放入dataList,并传参 private List dataList = new ArrayList();并生成get、set方法 ... ... public String downLoadFile() { try { curYear = Calendar.getInstance().get(Calendar.YEAR); if(year == 0) year = curYear; int curMonth = Calendar.getInstance().get(Calendar.MONTH)+1; if(quarter == 0) quarter = DateCommonUtil.getCurrentMonthQuarter(curMonth); ProjectInfoService projectService = (ProjectInfoService) SpringContext.getInstance().getBean(projectService); FilterList projFilterList = new FilterList(); if(!StringUtil.isNullOrBlank(deptId)) projFilterList.ad

文档评论(0)

1亿VIP精品文档

相关文档