Browse Source

字段修改

wangliang 4 years ago
parent
commit
b2d5351dc2

+ 2 - 2
themis-business/src/main/java/com/qmth/themis/business/entity/TEExam.java

@@ -208,7 +208,7 @@ public class TEExam extends BaseEntity {
         this.inProcessFaceStrangerIgnore = teExamDto.getInProcessFaceStrangerIgnore();
         this.inProcessLivenessVerify = teExamDto.getInProcessLivenessVerify();
         if (Objects.nonNull(teExamDto.getInProcessLivenessFixedRange())) {
-            this.inProcessLivenessFixedRange = teExamDto.getInProcessLivenessFixedRange().toString().replace("[", "").replace("]", "");
+            this.inProcessLivenessFixedRange = teExamDto.getInProcessLivenessFixedRange().toString().trim().replace("[", "").replace("]", "");
         }
         this.inProcessLivenessJudgePolicy = teExamDto.getInProcessLivenessJudgePolicy();
         this.recordSelectStrategy = teExamDto.getRecordSelectStrategy();
@@ -217,7 +217,7 @@ public class TEExam extends BaseEntity {
         this.scoreStatus = teExamDto.getScoreStatus();
         this.objectiveScorePolicy = teExamDto.getObjectiveScorePolicy();
         if (Objects.nonNull(teExamDto.getMonitorVideoSource())) {
-            this.monitorVideoSource = teExamDto.getMonitorVideoSource().toString().replace("[", "").replace("]", "");
+            this.monitorVideoSource = teExamDto.getMonitorVideoSource().toString().trim().replace("[", "").replace("]", "");
         }
         this.monitorRecord = teExamDto.getMonitorRecord();
         this.progress = teExamDto.getProgress();