using NPOI.SS.UserModel; namespace YBEE.EQM.Application; /// /// EXCEL导出服务 /// public interface IExportExcelService { /// /// 导出 Excel 文件 /// /// /// /// byte[] ExportExcel(ExportExcelDto input); /// /// 获取单元格表头和单元格样式 /// /// /// /// /// ExportExcelCellStyle GetCellStyle(IWorkbook wb, double fontSize = 10, double titleFontSize = 16); /// /// 添加单元格 /// /// /// /// /// /// /// /// 0转为空白 /// ICell AddCell(object value, IRow row, int columnIndex, ICellStyle cellStyle, ISheet sheet = null, int? width = null, bool? zeroToBlank = false, CellType? cellType = null); }