|
@@ -214,6 +214,9 @@ public class TEExam extends BaseEntity {
|
|
this.inProcessLivenessVerify = teExamDto.getInProcessLivenessVerify();
|
|
this.inProcessLivenessVerify = teExamDto.getInProcessLivenessVerify();
|
|
if (Objects.nonNull(teExamDto.getInProcessLivenessFixedRange()) && !Objects.equals(teExamDto.getInProcessLivenessFixedRange(), "")) {
|
|
if (Objects.nonNull(teExamDto.getInProcessLivenessFixedRange()) && !Objects.equals(teExamDto.getInProcessLivenessFixedRange(), "")) {
|
|
this.inProcessLivenessFixedRange = teExamDto.getInProcessLivenessFixedRange().toString().trim().replace("[", "").replace("]", "").replaceAll(" ", "");
|
|
this.inProcessLivenessFixedRange = teExamDto.getInProcessLivenessFixedRange().toString().trim().replace("[", "").replace("]", "").replaceAll(" ", "");
|
|
|
|
+ if (Objects.equals(this.inProcessLivenessFixedRange.trim().replaceAll(" ", ""), "")) {
|
|
|
|
+ this.inProcessLivenessFixedRange = null;
|
|
|
|
+ }
|
|
} else {
|
|
} else {
|
|
this.inProcessLivenessFixedRange = null;
|
|
this.inProcessLivenessFixedRange = null;
|
|
}
|
|
}
|
|
@@ -225,6 +228,9 @@ public class TEExam extends BaseEntity {
|
|
this.objectiveScorePolicy = teExamDto.getObjectiveScorePolicy();
|
|
this.objectiveScorePolicy = teExamDto.getObjectiveScorePolicy();
|
|
if (Objects.nonNull(teExamDto.getMonitorVideoSource()) && !Objects.equals(teExamDto.getMonitorVideoSource(), "")) {
|
|
if (Objects.nonNull(teExamDto.getMonitorVideoSource()) && !Objects.equals(teExamDto.getMonitorVideoSource(), "")) {
|
|
this.monitorVideoSource = teExamDto.getMonitorVideoSource().toString().trim().replace("[", "").replace("]", "").replaceAll(" ", "");
|
|
this.monitorVideoSource = teExamDto.getMonitorVideoSource().toString().trim().replace("[", "").replace("]", "").replaceAll(" ", "");
|
|
|
|
+ if (Objects.equals(this.monitorVideoSource.trim().replaceAll(" ", ""), "")) {
|
|
|
|
+ this.monitorVideoSource = null;
|
|
|
|
+ }
|
|
} else {
|
|
} else {
|
|
this.monitorVideoSource = null;
|
|
this.monitorVideoSource = null;
|
|
}
|
|
}
|