} } 3、控制层
Label lable11= new Label(1,list.size()+7,\领料人:\ Label lable12= new Label(3,list.size()+7,\库管员:\ Label lable17= new Label(5,list.size()+7,\审批人:\sheet.addCell(lable17); sheet.addCell(lable11); sheet.addCell(lable12); sheet.addCell(lable13); sheet.addCell(lable14); sheet.addCell(lable15); sheet.addCell(lable16);
book.write(); book.close();
} catch (Exception e) {
// TODO Auto-generated catch block e.printStackTrace(); } finally {
try {
os.flush(); os.close();
} catch (IOException e) {
// TODO Auto-generated catch block e.printStackTrace(); } }
request.getSession().setAttribute(\stockOutDao.insertStockOut(soList); List
ExcelOutService service=new ExcelOutService(); service.downloadExcel(response, rtList,request);