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