|
@@ -225,7 +225,9 @@ public class TEExamActivityServiceImpl extends ServiceImpl<TEExamActivityMapper,
|
|
//取course缓存
|
|
//取course缓存
|
|
ExamCourseCacheBean examCourseCacheBean = teExamCourseService
|
|
ExamCourseCacheBean examCourseCacheBean = teExamCourseService
|
|
.getExamCourseCacheBean(teExamActivityDto.getExamId(), courseCode);
|
|
.getExamCourseCacheBean(teExamActivityDto.getExamId(), courseCode);
|
|
- teExamActivityDto.setMobilePhotoUpload(examCourseCacheBean.getMobilePhotoUpload());
|
|
|
|
|
|
+ if (Objects.nonNull(examCourseCacheBean) && Objects.nonNull(examCourseCacheBean.getMobilePhotoUpload())) {
|
|
|
|
+ teExamActivityDto.setMobilePhotoUpload(examCourseCacheBean.getMobilePhotoUpload());
|
|
|
|
+ }
|
|
//加入hardwareTest逻辑
|
|
//加入hardwareTest逻辑
|
|
if (teExamActivityDto.getMonitorVideoSourceStr().toUpperCase().contains(MonitorVideoSourceEnum.CLIENT_CAMERA.name())
|
|
if (teExamActivityDto.getMonitorVideoSourceStr().toUpperCase().contains(MonitorVideoSourceEnum.CLIENT_CAMERA.name())
|
|
|| (Objects.nonNull(teExamActivityDto.getEntryAuthenticationPolicy()) && (
|
|
|| (Objects.nonNull(teExamActivityDto.getEntryAuthenticationPolicy()) && (
|