//优化后导出excel public System.IO.Stream ExcelStream(string search) // { var orderBusiniss = Containers.ObjectContainer.CreateObject<IOrderBusiness>(); var list = orderBusiniss.GetExcel(search); NPOI.HSSF.UserModel.HSSFWorkbook hssfworkbook = new NPOI.H…