|
@@ -63,7 +63,7 @@ import com.diagbot.dto.RespDTO;
|
|
// 生成一个样式
|
|
// 生成一个样式
|
|
HSSFCellStyle style = wb.createCellStyle();
|
|
HSSFCellStyle style = wb.createCellStyle();
|
|
HSSFRow row = sheet.createRow(0);
|
|
HSSFRow row = sheet.createRow(0);
|
|
- style.setAlignment(HSSFCellStyle.ALIGN_CENTER);
|
|
|
|
|
|
+// style.setAlignment(HSSFCellStyle.ALIGN_CENTER);
|
|
HSSFCell cell;
|
|
HSSFCell cell;
|
|
Collection c = headersNameMap.values();//拿到表格所有标题的value的集合
|
|
Collection c = headersNameMap.values();//拿到表格所有标题的value的集合
|
|
Iterator<String> it = c.iterator();//表格标题的迭代器
|
|
Iterator<String> it = c.iterator();//表格标题的迭代器
|