|
@@ -476,6 +476,7 @@ public class AttendanceStatisticsServiceImpl extends MPJBaseServiceImpl<Attendan
|
|
|
}
|
|
|
}
|
|
|
dataList.add(data);
|
|
|
+ sortCode ++;
|
|
|
}
|
|
|
|
|
|
int allColumn = 8 + statistics.getAttendanceDays();//总列数
|
|
@@ -487,7 +488,7 @@ public class AttendanceStatisticsServiceImpl extends MPJBaseServiceImpl<Attendan
|
|
|
// 第一行表头
|
|
|
createFirstTitle(workbook, sheet, allColumn - 1);
|
|
|
// 第二行表头
|
|
|
- createSecondTitle(workbook, sheet, statistics, 3);
|
|
|
+ createSecondTitle(workbook, sheet, statistics, 7);
|
|
|
// 第三行表头
|
|
|
createThirdTitle(workbook, sheet, weekList);
|
|
|
// 第四行表头
|
|
@@ -654,6 +655,8 @@ public class AttendanceStatisticsServiceImpl extends MPJBaseServiceImpl<Attendan
|
|
|
for(int i = 0; i < 7; i ++){
|
|
|
sheet.autoSizeColumn(i);
|
|
|
}
|
|
|
+ sheet.setColumnWidth(4, 10*256);
|
|
|
+ sheet.setColumnWidth(5, 10*256);
|
|
|
|
|
|
int cellNumber = 8;
|
|
|
for (String dayOfWeek : weekList) {
|