本事例分为nopi(安装DotNetCore.NPOI)下载和EPPlus(EPPlus.Core.dll)下载,其中npoi下载演示的是根据执行的模板进行数据下载 npoi帮助类NpoiExcelUtility using NPOI.HSSF.UserModel; using NPOI.SS.UserModel; using System; using System.Collections.Generic; using System.Data; using System.IO; using S
@SuppressWarnings("unchecked") public String batchExport() throws DBException{ @SuppressWarnings("unused") List chkList = this.checkValueToList();//获取复选框的值 List srcfile=new ArrayList(); SimpleDateFormat sdf = new SimpleDateFormat("