|
@@ -498,7 +498,9 @@ public class AttendanceStatisticsServiceImpl extends MPJBaseServiceImpl<Attendan
|
|
for (ArrayList<String> rowData : dataList) {
|
|
for (ArrayList<String> rowData : dataList) {
|
|
Row dataRow = sheet.createRow(dataRowNumber);
|
|
Row dataRow = sheet.createRow(dataRowNumber);
|
|
for (int i = 0; i < rowData.size(); i ++){
|
|
for (int i = 0; i < rowData.size(); i ++){
|
|
- sheet.autoSizeColumn(i);
|
|
|
|
|
|
+ if(i > 7){
|
|
|
|
+ sheet.autoSizeColumn(i);
|
|
|
|
+ }
|
|
String content = rowData.get(i);
|
|
String content = rowData.get(i);
|
|
Font font = workbook.createFont();
|
|
Font font = workbook.createFont();
|
|
font.setBold(false);// 设置为粗体
|
|
font.setBold(false);// 设置为粗体
|