|
@@ -71,6 +71,16 @@ public class ExamRecordController extends ControllerSupport {
|
|
examRecordWaitingAuditList.getContent().forEach(p -> {
|
|
examRecordWaitingAuditList.getContent().forEach(p -> {
|
|
p.setIdentityNumber(IdentityNumberHelper.conceal(p.getRootOrgId(), p.getIdentityNumber()));
|
|
p.setIdentityNumber(IdentityNumberHelper.conceal(p.getRootOrgId(), p.getIdentityNumber()));
|
|
});
|
|
});
|
|
|
|
+ List<ExamRecordInfo> examRecordInfoList=examRecordWaitingAuditList.getContent();
|
|
|
|
+ if (examRecordInfoList != null && examRecordInfoList.size() > 0) {
|
|
|
|
+ String examType = examRecordInfoList.get(0).getExamType();
|
|
|
|
+
|
|
|
|
+ for (ExamRecordInfo examRecordInfo : examRecordInfoList) {
|
|
|
|
+ if (ExamType.ONLINE.name().equals(examType) || ExamType.ONLINE_HOMEWORK.name().equals(examType)) {
|
|
|
|
+ examRecordInfo.setVirtualCameraNames(examCaptureService.getVirtualCameraNames(examRecordInfo.getDataId()));
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
return examRecordWaitingAuditList;
|
|
return examRecordWaitingAuditList;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -116,6 +126,15 @@ public class ExamRecordController extends ControllerSupport {
|
|
Check.isNull(newQuery, "请求参数不能为空!");
|
|
Check.isNull(newQuery, "请求参数不能为空!");
|
|
Check.isNull(newQuery.getExamId(), "请先选择考试批次!");
|
|
Check.isNull(newQuery.getExamId(), "请先选择考试批次!");
|
|
List<ExamRecordInfo> examRecordInfoList = examRecordService.getExamRecordDetailList(newQuery);
|
|
List<ExamRecordInfo> examRecordInfoList = examRecordService.getExamRecordDetailList(newQuery);
|
|
|
|
+ if (examRecordInfoList != null && examRecordInfoList.size() > 0) {
|
|
|
|
+ String examType = examRecordInfoList.get(0).getExamType();
|
|
|
|
+
|
|
|
|
+ for (ExamRecordInfo examRecordInfo : examRecordInfoList) {
|
|
|
|
+ if (ExamType.ONLINE.name().equals(examType) || ExamType.ONLINE_HOMEWORK.name().equals(examType)) {
|
|
|
|
+ examRecordInfo.setVirtualCameraNames(examCaptureService.getVirtualCameraNames(examRecordInfo.getDataId()));
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
ExportUtils.exportEXCEL("考试明细列表", ExamRecordInfo.class, examRecordInfoList, response);
|
|
ExportUtils.exportEXCEL("考试明细列表", ExamRecordInfo.class, examRecordInfoList, response);
|
|
}
|
|
}
|
|
|
|
|