|
@@ -204,10 +204,10 @@ public class TEExamDto extends BaseEntity {
|
|
|
this.inProcessFaceStrangerIgnore = teExam.getInProcessFaceStrangerIgnore();
|
|
|
this.inProcessLivenessVerify = teExam.getInProcessLivenessVerify();
|
|
|
if (Objects.nonNull(teExam.getInProcessLivenessFixedRange())) {
|
|
|
- String[] longs = teExam.getInProcessLivenessFixedRange().split(",");
|
|
|
+ String[] longs = teExam.getInProcessLivenessFixedRange().trim().split(",");
|
|
|
List inProcessLivenessFixedRange = new ArrayList();
|
|
|
for (int i = 0; i < longs.length; i++) {
|
|
|
- Long l = Long.valueOf(longs[i]);
|
|
|
+ Long l = Long.valueOf(longs[i].trim());
|
|
|
inProcessLivenessFixedRange.add(l);
|
|
|
}
|
|
|
setInProcessLivenessFixedRange(inProcessLivenessFixedRange);
|
|
@@ -219,7 +219,7 @@ public class TEExamDto extends BaseEntity {
|
|
|
this.scoreStatus = teExam.getScoreStatus();
|
|
|
this.objectiveScorePolicy = teExam.getObjectiveScorePolicy();
|
|
|
if (Objects.nonNull(teExam.getMonitorVideoSource())) {
|
|
|
- setMonitorVideoSource(Arrays.asList(teExam.getMonitorVideoSource().split(",")));
|
|
|
+ setMonitorVideoSource(Arrays.asList(teExam.getMonitorVideoSource().trim().split(",")));
|
|
|
}
|
|
|
this.monitorRecord = teExam.getMonitorRecord();
|
|
|
this.progress = teExam.getProgress();
|