Package org.jeecgframework.poi.excel.entity

Examples of org.jeecgframework.poi.excel.entity.ExcelTitle


        }
              // 进行转码,使其支持中文文件名
              // 产生工作簿对象
              HSSFWorkbook workbook = null ;
              List<JpPersonEntity> jpPersons = this.jpPersonService.loadAll(JpPersonEntity.class);
              workbook =  ExcelExportUtil.exportExcel(new ExcelTitle(null,null,"导出信息"), JpPersonEntity.class, jpPersons);
              fOut = response.getOutputStream();
              workbook.write(fOut);
          }
          catch (UnsupportedEncodingException e1)
          {
View Full Code Here


      HSSFWorkbook workbook = null;
      CriteriaQuery cq = new CriteriaQuery(CourseEntity.class, dataGrid);
      org.jeecgframework.core.extend.hqlsearch.HqlGenerateUtil.installHql(cq, course, request.getParameterMap());
     
      List<CourseEntity> courses = this.courseService.getListByCriteriaQuery(cq,false);
      workbook = ExcelExportUtil.exportExcel(new ExcelTitle("课程列表", "导出人:Jeecg",
          "导出信息"), CourseEntity.class, courses);
      fOut = response.getOutputStream();
      workbook.write(fOut);
    } catch (Exception e) {
    } finally {
View Full Code Here

TOP

Related Classes of org.jeecgframework.poi.excel.entity.ExcelTitle

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.