|
@@ -212,8 +212,10 @@ public class TEExam extends BaseEntity {
|
|
this.inProcessFaceVerify = teExamDto.getInProcessFaceVerify();
|
|
this.inProcessFaceVerify = teExamDto.getInProcessFaceVerify();
|
|
this.inProcessFaceStrangerIgnore = teExamDto.getInProcessFaceStrangerIgnore();
|
|
this.inProcessFaceStrangerIgnore = teExamDto.getInProcessFaceStrangerIgnore();
|
|
this.inProcessLivenessVerify = teExamDto.getInProcessLivenessVerify();
|
|
this.inProcessLivenessVerify = teExamDto.getInProcessLivenessVerify();
|
|
- if (Objects.nonNull(teExamDto.getInProcessLivenessFixedRange())) {
|
|
|
|
- this.inProcessLivenessFixedRange = teExamDto.getInProcessLivenessFixedRange().toString().trim().replace("[", "").replace("]", "").replaceAll(" ","");
|
|
|
|
|
|
+ if (Objects.nonNull(teExamDto.getInProcessLivenessFixedRange()) && !Objects.equals(teExamDto.getInProcessLivenessFixedRange(), "")) {
|
|
|
|
+ this.inProcessLivenessFixedRange = teExamDto.getInProcessLivenessFixedRange().toString().trim().replace("[", "").replace("]", "").replaceAll(" ", "");
|
|
|
|
+ } else {
|
|
|
|
+ this.inProcessLivenessFixedRange = null;
|
|
}
|
|
}
|
|
this.inProcessLivenessJudgePolicy = teExamDto.getInProcessLivenessJudgePolicy();
|
|
this.inProcessLivenessJudgePolicy = teExamDto.getInProcessLivenessJudgePolicy();
|
|
this.recordSelectStrategy = teExamDto.getRecordSelectStrategy();
|
|
this.recordSelectStrategy = teExamDto.getRecordSelectStrategy();
|
|
@@ -221,8 +223,10 @@ public class TEExam extends BaseEntity {
|
|
this.ipAllow = teExamDto.getIpAllow();
|
|
this.ipAllow = teExamDto.getIpAllow();
|
|
this.scoreStatus = teExamDto.getScoreStatus();
|
|
this.scoreStatus = teExamDto.getScoreStatus();
|
|
this.objectiveScorePolicy = teExamDto.getObjectiveScorePolicy();
|
|
this.objectiveScorePolicy = teExamDto.getObjectiveScorePolicy();
|
|
- if (Objects.nonNull(teExamDto.getMonitorVideoSource())) {
|
|
|
|
- this.monitorVideoSource = teExamDto.getMonitorVideoSource().toString().trim().replace("[", "").replace("]", "").replaceAll(" ","");
|
|
|
|
|
|
+ if (Objects.nonNull(teExamDto.getMonitorVideoSource()) && !Objects.equals(teExamDto.getMonitorVideoSource(), "")) {
|
|
|
|
+ this.monitorVideoSource = teExamDto.getMonitorVideoSource().toString().trim().replace("[", "").replace("]", "").replaceAll(" ", "");
|
|
|
|
+ } else {
|
|
|
|
+ this.monitorVideoSource = null;
|
|
}
|
|
}
|
|
this.monitorRecord = teExamDto.getMonitorRecord();
|
|
this.monitorRecord = teExamDto.getMonitorRecord();
|
|
this.progress = teExamDto.getProgress();
|
|
this.progress = teExamDto.getProgress();
|