|
@@ -561,8 +561,7 @@ public class MeetingPersonRecodeController {
|
|
//表头
|
|
//表头
|
|
Row rowTitle = sheet.createRow(0);
|
|
Row rowTitle = sheet.createRow(0);
|
|
|
|
|
|
- String[] titles = new String[]{"序号","会议名称","应到人数","实到人数","缺席人数","迟到人数",
|
|
|
|
- "早退人数","会议状态","会议日期"};
|
|
|
|
|
|
+ String[] titles = new String[]{"序号","会议名称","应到人数","实到人数","缺席人数","迟到人数", "会议状态","会议日期"};
|
|
|
|
|
|
for (int i=0;i<titles.length;i++) {
|
|
for (int i=0;i<titles.length;i++) {
|
|
Cell cell = rowTitle.createCell(i);
|
|
Cell cell = rowTitle.createCell(i);
|
|
@@ -581,7 +580,7 @@ public class MeetingPersonRecodeController {
|
|
row.createCell(colIndex++).setCellValue(com.jpsoft.shinestar.modules.common.utils.StringUtils.strValue(map.get("realNum"),""));
|
|
row.createCell(colIndex++).setCellValue(com.jpsoft.shinestar.modules.common.utils.StringUtils.strValue(map.get("realNum"),""));
|
|
row.createCell(colIndex++).setCellValue(com.jpsoft.shinestar.modules.common.utils.StringUtils.strValue(map.get("absentNum"),""));
|
|
row.createCell(colIndex++).setCellValue(com.jpsoft.shinestar.modules.common.utils.StringUtils.strValue(map.get("absentNum"),""));
|
|
row.createCell(colIndex++).setCellValue(com.jpsoft.shinestar.modules.common.utils.StringUtils.strValue(map.get("lateNum"),""));
|
|
row.createCell(colIndex++).setCellValue(com.jpsoft.shinestar.modules.common.utils.StringUtils.strValue(map.get("lateNum"),""));
|
|
- row.createCell(colIndex++).setCellValue(com.jpsoft.shinestar.modules.common.utils.StringUtils.strValue(map.get("leaveEarlyNum"),""));
|
|
|
|
|
|
+// row.createCell(colIndex++).setCellValue(com.jpsoft.shinestar.modules.common.utils.StringUtils.strValue(map.get("leaveEarlyNum"),""));
|
|
row.createCell(colIndex++).setCellValue(com.jpsoft.shinestar.modules.common.utils.StringUtils.strValue(map.get("statusN"),""));
|
|
row.createCell(colIndex++).setCellValue(com.jpsoft.shinestar.modules.common.utils.StringUtils.strValue(map.get("statusN"),""));
|
|
row.createCell(colIndex++).setCellValue(com.jpsoft.shinestar.modules.common.utils.StringUtils.strValue(map.get("meetingDateStrArr"),""));
|
|
row.createCell(colIndex++).setCellValue(com.jpsoft.shinestar.modules.common.utils.StringUtils.strValue(map.get("meetingDateStrArr"),""));
|
|
}
|
|
}
|
|
@@ -623,13 +622,13 @@ public class MeetingPersonRecodeController {
|
|
List<Map> mapList2 = getRealToMap(meetingId,"2", pageIndex, pageSize);
|
|
List<Map> mapList2 = getRealToMap(meetingId,"2", pageIndex, pageSize);
|
|
List<Map> mapList3 = getAbsentMap(meetingId, pageIndex, pageSize);
|
|
List<Map> mapList3 = getAbsentMap(meetingId, pageIndex, pageSize);
|
|
List<Map> mapList4 = getRealToMap(meetingId,"5", pageIndex, pageSize);
|
|
List<Map> mapList4 = getRealToMap(meetingId,"5", pageIndex, pageSize);
|
|
- List<Map> mapList5 = getRealToMap(meetingId,"6", pageIndex, pageSize);
|
|
|
|
|
|
+ //List<Map> mapList5 = getRealToMap(meetingId,"6", pageIndex, pageSize);
|
|
|
|
|
|
totalMapList.add(mapList);
|
|
totalMapList.add(mapList);
|
|
totalMapList.add(mapList2);
|
|
totalMapList.add(mapList2);
|
|
totalMapList.add(mapList3);
|
|
totalMapList.add(mapList3);
|
|
totalMapList.add(mapList4);
|
|
totalMapList.add(mapList4);
|
|
- totalMapList.add(mapList5);
|
|
|
|
|
|
+ //totalMapList.add(mapList5);
|
|
|
|
|
|
String downloadUrl = "";
|
|
String downloadUrl = "";
|
|
|
|
|
|
@@ -647,12 +646,12 @@ public class MeetingPersonRecodeController {
|
|
else if(j==2){
|
|
else if(j==2){
|
|
sheet = workbook.createSheet("缺席"+ String.valueOf(mapList3.size()));
|
|
sheet = workbook.createSheet("缺席"+ String.valueOf(mapList3.size()));
|
|
}
|
|
}
|
|
- else if(j==3){
|
|
|
|
- sheet = workbook.createSheet("迟到"+ String.valueOf(mapList4.size()));
|
|
|
|
- }
|
|
|
|
else{
|
|
else{
|
|
- sheet = workbook.createSheet("早退"+ String.valueOf(mapList5.size()));
|
|
|
|
|
|
+ sheet = workbook.createSheet("迟到"+ String.valueOf(mapList4.size()));
|
|
}
|
|
}
|
|
|
|
+// else{
|
|
|
|
+// sheet = workbook.createSheet("早退"+ String.valueOf(mapList5.size()));
|
|
|
|
+// }
|
|
|
|
|
|
//表头
|
|
//表头
|
|
Row rowTitle = sheet.createRow(0);
|
|
Row rowTitle = sheet.createRow(0);
|