在用ireport、jasperreport 导出excel时的两种方法,
方法一:这种方式方法和参数已经过时,使用setParameter()和JRExporterParameter获取属性设置,还可以使用,看着不舒服
方法二:使用SimpleXlsxReportConfiguration设置Excel属性,ExporterInput设置从数据库中返回的结果,OutputStreamExporterOutput输出到Excel中
在用ireport、jasperreport 导出excel时的两种方法,
方法一:这种方式方法和参数已经过时,使用setParameter()和JRExporterParameter获取属性设置,还可以使用,看着不舒服
方法二:使用SimpleXlsxReportConfiguration设置Excel属性,ExporterInput设置从数据库中返回的结果,OutputStreamExporterOutput输出到Excel中
相关文章: