|
@@ -74,8 +74,8 @@ public class ExamStatisticController extends ControllerSupport {
|
|
|
String filePath = systemConfig.getTempDataDir() + File.separator + System.currentTimeMillis() + ".xlsx";
|
|
|
File file = new File(filePath);
|
|
|
|
|
|
- ExcelWriter.write(new String[]{"考试ID", "考试名称", "课程名称", "课程代码", "应考人数", "实考人数", "缺考人数", "缺考率",
|
|
|
- "及格人数", "及格率", "优秀人数", "优秀率", "违纪人数", "违纪率"},
|
|
|
+ ExcelWriter.write(new String[]{"考试ID", "考试名称", "课程名称", "课程代码", "应考人数", "实考人数", "缺考人数", "缺考率(%)",
|
|
|
+ "及格人数", "及格率(%)", "优秀人数", "优秀率(%)", "违纪人数", "违纪率(%)"},
|
|
|
new Class[]{Long.class, String.class, String.class, String.class, Integer.class, Integer.class,
|
|
|
Integer.class, Double.class, Integer.class, Double.class, Integer.class, Double.class,
|
|
|
Integer.class, Double.class},
|
|
@@ -108,8 +108,8 @@ public class ExamStatisticController extends ControllerSupport {
|
|
|
String filePath = systemConfig.getTempDataDir() + File.separator + System.currentTimeMillis() + ".xlsx";
|
|
|
File file = new File(filePath);
|
|
|
|
|
|
- ExcelWriter.write(new String[]{"考试ID", "考试名称", "学习中心", "应考人数", "实考人数", "缺考人数", "缺考率",
|
|
|
- "及格人数", "及格率", "优秀人数", "优秀率", "违纪人数", "违纪率"},
|
|
|
+ ExcelWriter.write(new String[]{"考试ID", "考试名称", "学习中心", "应考人数", "实考人数", "缺考人数", "缺考率(%)",
|
|
|
+ "及格人数", "及格率(%)", "优秀人数", "优秀率(%)", "违纪人数", "违纪率(%)"},
|
|
|
new Class[]{Long.class, String.class, String.class, Integer.class, Integer.class, Integer.class,
|
|
|
Double.class, Integer.class, Double.class, Integer.class, Double.class,
|
|
|
Integer.class, Double.class},
|