|
|
@ -108,7 +108,7 @@ public class ExportAspect {
|
|
|
|
//-------------------------------------------------------------------------------------------------------------------------
|
|
|
|
//-------------------------------------------------------------------------------------------------------------------------
|
|
|
|
HSSFWorkbook workbook = new HSSFWorkbook();
|
|
|
|
HSSFWorkbook workbook = new HSSFWorkbook();
|
|
|
|
HSSFSheet sheet = workbook.createSheet();
|
|
|
|
HSSFSheet sheet = workbook.createSheet();
|
|
|
|
sheet.setDefaultColumnWidth(15);
|
|
|
|
sheet.setDefaultColumnWidth(20);
|
|
|
|
HSSFRow row = sheet.createRow(0);
|
|
|
|
HSSFRow row = sheet.createRow(0);
|
|
|
|
//--------------------------------------------------------------------------------------------------------------------------
|
|
|
|
//--------------------------------------------------------------------------------------------------------------------------
|
|
|
|
HSSFCellStyle headerStyle = getHeaderStyle(workbook);// 获取列头样式对象
|
|
|
|
HSSFCellStyle headerStyle = getHeaderStyle(workbook);// 获取列头样式对象
|
|
|
|