|
@@ -12,6 +12,7 @@ import java.util.List;
|
|
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
|
+import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.data.domain.Page;
|
|
|
import org.springframework.http.HttpStatus;
|
|
@@ -90,6 +91,7 @@ public class ExamRecordController extends ControllerSupport {
|
|
|
for (ExamRecordInfo examRecordInfo : examRecordInfoList) {
|
|
|
if (ExamType.ONLINE.name().equals(examType) || ExamType.ONLINE_HOMEWORK.name().equals(examType)) {
|
|
|
examRecordInfo.setVirtualCameraNames(examCaptureService.getVirtualCameraNames(examRecordInfo.getDataId()));
|
|
|
+ examRecordInfo.setHasVirtual(StringUtils.isNotBlank(examRecordInfo.getVirtualCameraNames()));
|
|
|
}
|
|
|
}
|
|
|
}
|