|
@@ -197,7 +197,7 @@ public class ExamController extends ControllerSupport {
|
|
private static final String[] EXAM_ORG_SETTINGS_EXCEL_HEADER = new String[]{"学习中心ID", "学习中心代码",
|
|
private static final String[] EXAM_ORG_SETTINGS_EXCEL_HEADER = new String[]{"学习中心ID", "学习中心代码",
|
|
"学习中心名称", "是否可以考试(是/否)", "开始考试时间 yyyy-MM-dd hh:mm:ss", "结束考试时间 yyyy-MM-dd hh:mm:ss"};
|
|
"学习中心名称", "是否可以考试(是/否)", "开始考试时间 yyyy-MM-dd hh:mm:ss", "结束考试时间 yyyy-MM-dd hh:mm:ss"};
|
|
|
|
|
|
- private static final String[] EXCEL_IP_LIMIT_HEADER = new String[]{"IP地址", "限制类型"};
|
|
|
|
|
|
+ private static final String[] EXCEL_IP_LIMIT_HEADER = new String[]{"IP地址", "限制类型", "备注"};
|
|
|
|
|
|
@ApiOperation(value = "查询考试课程的试卷类型集合")
|
|
@ApiOperation(value = "查询考试课程的试卷类型集合")
|
|
@GetMapping("queryExamCoursePaperTypeList")
|
|
@GetMapping("queryExamCoursePaperTypeList")
|
|
@@ -1463,6 +1463,11 @@ public class ExamController extends ControllerSupport {
|
|
}
|
|
}
|
|
entity.setLimitType(ipLimitType);
|
|
entity.setLimitType(ipLimitType);
|
|
|
|
|
|
|
|
+ // 备注
|
|
|
|
+ if(line.length == 3 && line[2] != null){
|
|
|
|
+ entity.setRemark(line[2]);
|
|
|
|
+ }
|
|
|
|
+
|
|
Date date = new Date();
|
|
Date date = new Date();
|
|
entity.setCreationTime(date);
|
|
entity.setCreationTime(date);
|
|
entity.setUpdateTime(date);
|
|
entity.setUpdateTime(date);
|
|
@@ -1500,7 +1505,7 @@ public class ExamController extends ControllerSupport {
|
|
|
|
|
|
for (ExamIpLimitEntity cur : list) {
|
|
for (ExamIpLimitEntity cur : list) {
|
|
String type = cur.getLimitType() == null ? "" : cur.getLimitType().getTitle();
|
|
String type = cur.getLimitType() == null ? "" : cur.getLimitType().getTitle();
|
|
- datas.add(new Object[]{cur.getIp(), type});
|
|
|
|
|
|
+ datas.add(new Object[]{cur.getIp(), type, cur.getRemark()});
|
|
}
|
|
}
|
|
|
|
|
|
String filePath = systemConfig.getTempDataDir() + File.separator
|
|
String filePath = systemConfig.getTempDataDir() + File.separator
|