|
@@ -122,7 +122,7 @@ public class TEExamServiceImpl extends ServiceImpl<TEExamMapper, TEExam> impleme
|
|
v.setMonitorAudioEnable(true);
|
|
v.setMonitorAudioEnable(true);
|
|
}
|
|
}
|
|
//加入hardwareTest逻辑
|
|
//加入hardwareTest逻辑
|
|
- if (v.getMonitorVideoSourceStr().toUpperCase().contains(MonitorVideoSourceEnum.CLIENT_CAMERA.name()) || (Objects.nonNull(v.getEntryAuthenticationPolicy()) && (Objects.equals(v.getEntryAuthenticationPolicy(), EntryAuthenticationPolicyEnum.LIVENESS.name()) || Objects.equals(v.getEntryAuthenticationPolicy(), EntryAuthenticationPolicyEnum.FACE_VERIFY_FORCE.name()))) || (Objects.nonNull(v.getCameraPhotoUpload()) && v.getCameraPhotoUpload() == 1)) {
|
|
|
|
|
|
+ if (v.getMonitorVideoSourceStr().toUpperCase().contains(MonitorVideoSourceEnum.CLIENT_CAMERA.name()) || (Objects.nonNull(v.getEntryAuthenticationPolicy()) && (Objects.equals(v.getEntryAuthenticationPolicy(), EntryAuthenticationPolicyEnum.LIVENESS_VERIFY.name()) || Objects.equals(v.getEntryAuthenticationPolicy(), EntryAuthenticationPolicyEnum.FACE_VERIFY_FORCE.name()))) || (Objects.nonNull(v.getCameraPhotoUpload()) && v.getCameraPhotoUpload() == 1)) {
|
|
List<String> hardwareTest = v.getHardwareTest();
|
|
List<String> hardwareTest = v.getHardwareTest();
|
|
if (Objects.isNull(hardwareTest)) {
|
|
if (Objects.isNull(hardwareTest)) {
|
|
hardwareTest = new ArrayList<>();
|
|
hardwareTest = new ArrayList<>();
|