deason 11 місяців тому
батько
коміт
7a3e8e5171

+ 117 - 117
examcloud-core-oe-admin-dao/src/main/java/cn/com/qmth/examcloud/core/oe/admin/dao/ExamCaptureQueueRepo.java

@@ -1,117 +1,117 @@
-package cn.com.qmth.examcloud.core.oe.admin.dao;
-
-import cn.com.qmth.examcloud.core.oe.admin.dao.entity.ExamCaptureQueueEntity;
-import cn.com.qmth.examcloud.core.oe.admin.dao.enums.ExamCaptureQueueStatus;
-import org.springframework.data.jpa.repository.JpaRepository;
-import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
-import org.springframework.data.jpa.repository.Modifying;
-import org.springframework.data.jpa.repository.Query;
-import org.springframework.stereotype.Repository;
-
-import javax.transaction.Transactional;
-import java.util.Date;
-import java.util.List;
-
-/**
- * @author chenken
- * @date 2018/8/17 14:42
- * @company QMTH
- * @description ExamCaptureQueueRepo
- */
-@Deprecated
-@Repository
-public interface ExamCaptureQueueRepo extends JpaRepository<ExamCaptureQueueEntity, Long>, JpaSpecificationExecutor<ExamCaptureQueueEntity> {
-
-    /**
-     * @param limit           一次取值数量
-     * @param processBatchNum 批次号
-     * @return List<ExamCaptureQueueEntity>
-     * @description 根据处理批次号查询没有处理过的数据或者是处理失败的数据,按优先级倒序,创建时间升序
-     * @author lideyin
-     * @date 2019/7/31 16:40
-     */
-    @Query(value = "select * from ec_oe_exam_capture_queue "
-            + " where status IN ('PENDING','PROCESS_FACE_COMPARE_FAILED')  " +
-            " and (process_batch_num is null or (process_batch_num is not null and process_batch_num!=?2))"
-            + " order by priority desc,id asc limit ?1", nativeQuery = true)
-    List<ExamCaptureQueueEntity> findNeedFaceCompareExamCaptureQueuesLimitByProcessBatchNum(Integer limit, String processBatchNum);
-
-    /**
-     * 查询人脸比对处理完成,需要百度活体检测的数据,按优先级倒序,创建时间升序
-     *
-     * @param limit           数量
-     * @param processBatchNum 批次号
-     * @return List<ExamCaptureQueueEntity>
-     */
-    @Query(value = "select * from ec_oe_exam_capture_queue "
-            + " where status IN ('PROCESS_FACE_COMPARE_COMPLETE','PROCESS_FACELIVENESS_FAILED') and process_batch_num!=?2  "
-            + " order by priority desc,id asc limit ?1", nativeQuery = true)
-    List<ExamCaptureQueueEntity> findNeedFacelivenessDetectExamCaptureQueuesLimit(Integer limit, String processBatchNum);
-
-    List<ExamCaptureQueueEntity> findByStatusOrderByCreationTimeAsc(ExamCaptureQueueStatus status);
-
-    List<ExamCaptureQueueEntity> findByExamRecordDataId(Long examRecordDataId);
-
-    /**
-     * 是否存在未处理的图片抓拍队列(处理完成的队列数据都会清理掉)
-     *
-     * @param examRecordDataId
-     * @return
-     */
-    @Query(value = "select * from ec_oe_exam_capture_queue where exam_record_data_id=?1 limit 1", nativeQuery = true)
-    ExamCaptureQueueEntity existsUnhandledByExamRecordDataId(Long examRecordDataId);
-
-    /**
-     * 修改数据状态为处理中
-     *
-     * @param id 主键ID
-     */
-    @Transactional
-    @Modifying
-    @Query(value = "update ec_oe_exam_capture_queue set status = 'PROCESSING' where id = ?1", nativeQuery = true)
-    void updateExamCaptureQueueStatusWithProcessing(Long id);
-
-
-    /**
-     * @param priority         优先级(值越大,优先级越高)
-     * @param examRecordDataId 考试记录id
-     * @description 更新考试抓拍队列优先级
-     * @date 2019/7/31 16:46
-     * @author lideyin
-     */
-    @Transactional
-    @Modifying
-    @Query(value = "update ec_oe_exam_capture_queue set priority=?1 where exam_record_data_id=?2", nativeQuery = true)
-    void updateExamCaptureQueuePriority(int priority, Long examRecordDataId);
-
-    /**
-     * @param captureQueueId
-     * @param errorMsg
-     * @param status
-     * @param batchNumber
-     * @param updateDate
-     */
-    @Transactional
-    @Modifying
-    @Query(value = "update ec_oe_exam_capture_queue set error_msg=?2,`status`=?3,process_batch_num=?4,error_num=error_num+1,update_time=?5 where id=?1", nativeQuery = true)
-    void saveExamCaptureQueueEntityByFailed(Long captureQueueId, String errorMsg, String status, String batchNumber,
-                                            Date updateDate);
-
-    @Transactional
-    @Modifying
-    @Query(value = "update ec_oe_exam_capture_queue set is_pass=?2,is_stranger=?3,`status`=?4,face_compare_result=?5,face_compare_start_time=?6,update_time=?7 where id=?1", nativeQuery = true)
-    void saveExamCaptureQueueEntityBySuccessful(Long captureQueueId, Boolean isPass, Boolean isStranger, String status,
-                                                String faceCompareResult, Long faceCompareStartTime, Date updateDate);
-
-    /**
-     * 更新批次号
-     *
-     * @param captureQueueId 队列id
-     * @param batchNum       批次号
-     */
-    @Transactional
-    @Modifying
-    @Query(value = "update ec_oe_exam_capture_queue set process_batch_num=?2 where id=?1", nativeQuery = true)
-    void updateProcessBatchNum(Long captureQueueId, String batchNum);
-
-}
+// package cn.com.qmth.examcloud.core.oe.admin.dao;
+//
+// import cn.com.qmth.examcloud.core.oe.admin.dao.entity.ExamCaptureQueueEntity;
+// import cn.com.qmth.examcloud.core.oe.admin.dao.enums.ExamCaptureQueueStatus;
+// import org.springframework.data.jpa.repository.JpaRepository;
+// import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+// import org.springframework.data.jpa.repository.Modifying;
+// import org.springframework.data.jpa.repository.Query;
+// import org.springframework.stereotype.Repository;
+//
+// import javax.transaction.Transactional;
+// import java.util.Date;
+// import java.util.List;
+//
+// /**
+//  * @author chenken
+//  * @date 2018/8/17 14:42
+//  * @company QMTH
+//  * @description ExamCaptureQueueRepo
+//  */
+// @Deprecated
+// @Repository
+// public interface ExamCaptureQueueRepo extends JpaRepository<ExamCaptureQueueEntity, Long>, JpaSpecificationExecutor<ExamCaptureQueueEntity> {
+//
+//     /**
+//      * @param limit           一次取值数量
+//      * @param processBatchNum 批次号
+//      * @return List<ExamCaptureQueueEntity>
+//      * @description 根据处理批次号查询没有处理过的数据或者是处理失败的数据,按优先级倒序,创建时间升序
+//      * @author lideyin
+//      * @date 2019/7/31 16:40
+//      */
+//     @Query(value = "select * from ec_oe_exam_capture_queue "
+//             + " where status IN ('PENDING','PROCESS_FACE_COMPARE_FAILED')  " +
+//             " and (process_batch_num is null or (process_batch_num is not null and process_batch_num!=?2))"
+//             + " order by priority desc,id asc limit ?1", nativeQuery = true)
+//     List<ExamCaptureQueueEntity> findNeedFaceCompareExamCaptureQueuesLimitByProcessBatchNum(Integer limit, String processBatchNum);
+//
+//     /**
+//      * 查询人脸比对处理完成,需要百度活体检测的数据,按优先级倒序,创建时间升序
+//      *
+//      * @param limit           数量
+//      * @param processBatchNum 批次号
+//      * @return List<ExamCaptureQueueEntity>
+//      */
+//     @Query(value = "select * from ec_oe_exam_capture_queue "
+//             + " where status IN ('PROCESS_FACE_COMPARE_COMPLETE','PROCESS_FACELIVENESS_FAILED') and process_batch_num!=?2  "
+//             + " order by priority desc,id asc limit ?1", nativeQuery = true)
+//     List<ExamCaptureQueueEntity> findNeedFacelivenessDetectExamCaptureQueuesLimit(Integer limit, String processBatchNum);
+//
+//     List<ExamCaptureQueueEntity> findByStatusOrderByCreationTimeAsc(ExamCaptureQueueStatus status);
+//
+//     List<ExamCaptureQueueEntity> findByExamRecordDataId(Long examRecordDataId);
+//
+//     /**
+//      * 是否存在未处理的图片抓拍队列(处理完成的队列数据都会清理掉)
+//      *
+//      * @param examRecordDataId
+//      * @return
+//      */
+//     @Query(value = "select * from ec_oe_exam_capture_queue where exam_record_data_id=?1 limit 1", nativeQuery = true)
+//     ExamCaptureQueueEntity existsUnhandledByExamRecordDataId(Long examRecordDataId);
+//
+//     /**
+//      * 修改数据状态为处理中
+//      *
+//      * @param id 主键ID
+//      */
+//     @Transactional
+//     @Modifying
+//     @Query(value = "update ec_oe_exam_capture_queue set status = 'PROCESSING' where id = ?1", nativeQuery = true)
+//     void updateExamCaptureQueueStatusWithProcessing(Long id);
+//
+//
+//     /**
+//      * @param priority         优先级(值越大,优先级越高)
+//      * @param examRecordDataId 考试记录id
+//      * @description 更新考试抓拍队列优先级
+//      * @date 2019/7/31 16:46
+//      * @author lideyin
+//      */
+//     @Transactional
+//     @Modifying
+//     @Query(value = "update ec_oe_exam_capture_queue set priority=?1 where exam_record_data_id=?2", nativeQuery = true)
+//     void updateExamCaptureQueuePriority(int priority, Long examRecordDataId);
+//
+//     /**
+//      * @param captureQueueId
+//      * @param errorMsg
+//      * @param status
+//      * @param batchNumber
+//      * @param updateDate
+//      */
+//     @Transactional
+//     @Modifying
+//     @Query(value = "update ec_oe_exam_capture_queue set error_msg=?2,`status`=?3,process_batch_num=?4,error_num=error_num+1,update_time=?5 where id=?1", nativeQuery = true)
+//     void saveExamCaptureQueueEntityByFailed(Long captureQueueId, String errorMsg, String status, String batchNumber,
+//                                             Date updateDate);
+//
+//     @Transactional
+//     @Modifying
+//     @Query(value = "update ec_oe_exam_capture_queue set is_pass=?2,is_stranger=?3,`status`=?4,face_compare_result=?5,face_compare_start_time=?6,update_time=?7 where id=?1", nativeQuery = true)
+//     void saveExamCaptureQueueEntityBySuccessful(Long captureQueueId, Boolean isPass, Boolean isStranger, String status,
+//                                                 String faceCompareResult, Long faceCompareStartTime, Date updateDate);
+//
+//     /**
+//      * 更新批次号
+//      *
+//      * @param captureQueueId 队列id
+//      * @param batchNum       批次号
+//      */
+//     @Transactional
+//     @Modifying
+//     @Query(value = "update ec_oe_exam_capture_queue set process_batch_num=?2 where id=?1", nativeQuery = true)
+//     void updateProcessBatchNum(Long captureQueueId, String batchNum);
+//
+// }

+ 272 - 272
examcloud-core-oe-admin-dao/src/main/java/cn/com/qmth/examcloud/core/oe/admin/dao/entity/ExamCaptureQueueEntity.java

@@ -1,272 +1,272 @@
-package cn.com.qmth.examcloud.core.oe.admin.dao.entity;
-
-import cn.com.qmth.examcloud.core.oe.admin.dao.enums.ExamCaptureQueueStatus;
-import cn.com.qmth.examcloud.web.jpa.WithIdJpaEntity;
-
-import javax.persistence.*;
-
-/**
- * @author chenken
- * @date 2018/8/17 14:24
- * @company QMTH
- * @description 抓拍队列
- */
-@Entity
-@Table(name = "ec_oe_exam_capture_queue", indexes = {
-        @Index(name = "IDX_E_O_E_C_Q_001", columnList = "examRecordDataId,fileName", unique = true),
-        @Index(name = "IDX_E_O_E_C_Q_002", columnList = "status,errorNum")
-})
-@Deprecated
-public class ExamCaptureQueueEntity extends WithIdJpaEntity {
-
-    /**
-     *
-     */
-    private static final long serialVersionUID = 4094671807731989565L;
-
-    private Long studentId;
-
-    /**
-     * ec_oe_exam_record_data  ID
-     */
-    private Long examRecordDataId;
-
-
-    /**
-     * 底照Token
-     */
-    private String baseFaceToken;
-
-    /**
-     * 文件URL
-     */
-    private String fileUrl;
-
-    /**
-     * 文件名称
-     */
-    private String fileName;
-
-    /**
-     * 状态
-     */
-    @Enumerated(EnumType.STRING)
-    private ExamCaptureQueueStatus status;
-
-    /**
-     * 错误信息
-     */
-    private String errorMsg;
-
-    /**
-     * 错误次数
-     */
-    private Integer errorNum;
-
-    /**
-     * 是否存在虚拟摄像头
-     */
-    @Column(name = "has_virtual_camera")
-    private Boolean hasVirtualCamera;
-
-    /**
-     * 摄像头信息  json字符串数组
-     */
-    @Column(name = "camera_infos", length = 800)
-    private String cameraInfos;
-
-    /**
-     * 其他信息
-     * Json格式
-     * {
-     * "":""
-     * }
-     */
-    @Column(name = "ext_msg", length = 800)
-    private String extMsg;
-
-    /**
-     * 队列处理批次号(用户判断某一条数据处理状态)
-     */
-    private String processBatchNum;
-
-    /**
-     * 队列处理的优先级,默认值为0
-     */
-    private int priority = 0;
-
-    /**
-     * 是否有陌生人
-     * 就是摄像头拍到不止考生一人
-     */
-    @Column(name = "is_stranger")
-    private Boolean isStranger;
-
-    /**
-     * 比较是否通过
-     */
-    @Column(name = "is_pass")
-    private Boolean isPass;
-
-    /**
-     * 人脸比较返回信息
-     */
-    @Column(name = "face_compare_result", length = 2000)
-    private String faceCompareResult;
-
-    /**
-     * 人脸比对开始时间
-     */
-    private Long faceCompareStartTime;
-
-    /**
-     * 百度在线活体检测结果
-     */
-    @Column(name = "faceliveness_result", length = 2000)
-    private String facelivenessResult;
-
-    public Long getExamRecordDataId() {
-        return examRecordDataId;
-    }
-
-    public void setExamRecordDataId(Long examRecordDataId) {
-        this.examRecordDataId = examRecordDataId;
-    }
-
-    public String getFileUrl() {
-        return fileUrl;
-    }
-
-    public void setFileUrl(String fileUrl) {
-        this.fileUrl = fileUrl;
-    }
-
-    public ExamCaptureQueueStatus getStatus() {
-        return status;
-    }
-
-    public void setStatus(ExamCaptureQueueStatus status) {
-        this.status = status;
-    }
-
-    public String getErrorMsg() {
-        return errorMsg;
-    }
-
-    public void setErrorMsg(String errorMsg) {
-        this.errorMsg = errorMsg;
-    }
-
-    public String getBaseFaceToken() {
-        return baseFaceToken;
-    }
-
-    public void setBaseFaceToken(String baseFaceToken) {
-        this.baseFaceToken = baseFaceToken;
-    }
-
-    public String getFileName() {
-        return fileName;
-    }
-
-    public void setFileName(String fileName) {
-        this.fileName = fileName;
-    }
-
-    public Integer getErrorNum() {
-        return errorNum;
-    }
-
-    public void setErrorNum(Integer errorNum) {
-        this.errorNum = errorNum;
-    }
-
-    public Long getStudentId() {
-        return studentId;
-    }
-
-    public void setStudentId(Long studentId) {
-        this.studentId = studentId;
-    }
-
-    public Boolean getHasVirtualCamera() {
-        return hasVirtualCamera;
-    }
-
-    public void setHasVirtualCamera(Boolean hasVirtualCamera) {
-        this.hasVirtualCamera = hasVirtualCamera;
-    }
-
-    public String getCameraInfos() {
-        return cameraInfos;
-    }
-
-    public void setCameraInfos(String cameraInfos) {
-        this.cameraInfos = cameraInfos;
-    }
-
-    public String getExtMsg() {
-        return extMsg;
-    }
-
-    public void setExtMsg(String extMsg) {
-        this.extMsg = extMsg;
-    }
-
-    public String getProcessBatchNum() {
-        return processBatchNum;
-    }
-
-    public void setProcessBatchNum(String processBatchNum) {
-        this.processBatchNum = processBatchNum;
-    }
-
-    public int getPriority() {
-        return priority;
-    }
-
-    public void setPriority(int priority) {
-        this.priority = priority;
-    }
-
-    public Boolean getIsStranger() {
-        return isStranger;
-    }
-
-    public void setIsStranger(Boolean stranger) {
-        isStranger = stranger;
-    }
-
-    public Boolean getIsPass() {
-        return isPass;
-    }
-
-    public void setIsPass(Boolean pass) {
-        isPass = pass;
-    }
-
-    public String getFaceCompareResult() {
-        return faceCompareResult;
-    }
-
-    public void setFaceCompareResult(String faceCompareResult) {
-        this.faceCompareResult = faceCompareResult;
-    }
-
-    public Long getFaceCompareStartTime() {
-        return faceCompareStartTime;
-    }
-
-    public void setFaceCompareStartTime(Long faceCompareStartTime) {
-        this.faceCompareStartTime = faceCompareStartTime;
-    }
-
-    public String getFacelivenessResult() {
-        return facelivenessResult;
-    }
-
-    public void setFacelivenessResult(String facelivenessResult) {
-        this.facelivenessResult = facelivenessResult;
-    }
-
-}
+// package cn.com.qmth.examcloud.core.oe.admin.dao.entity;
+//
+// import cn.com.qmth.examcloud.core.oe.admin.dao.enums.ExamCaptureQueueStatus;
+// import cn.com.qmth.examcloud.web.jpa.WithIdJpaEntity;
+//
+// import javax.persistence.*;
+//
+// /**
+//  * @author chenken
+//  * @date 2018/8/17 14:24
+//  * @company QMTH
+//  * @description 抓拍队列
+//  */
+// @Entity
+// @Table(name = "ec_oe_exam_capture_queue", indexes = {
+//         @Index(name = "IDX_E_O_E_C_Q_001", columnList = "examRecordDataId,fileName", unique = true),
+//         @Index(name = "IDX_E_O_E_C_Q_002", columnList = "status,errorNum")
+// })
+// @Deprecated
+// public class ExamCaptureQueueEntity extends WithIdJpaEntity {
+//
+//     /**
+//      *
+//      */
+//     private static final long serialVersionUID = 4094671807731989565L;
+//
+//     private Long studentId;
+//
+//     /**
+//      * ec_oe_exam_record_data  ID
+//      */
+//     private Long examRecordDataId;
+//
+//
+//     /**
+//      * 底照Token
+//      */
+//     private String baseFaceToken;
+//
+//     /**
+//      * 文件URL
+//      */
+//     private String fileUrl;
+//
+//     /**
+//      * 文件名称
+//      */
+//     private String fileName;
+//
+//     /**
+//      * 状态
+//      */
+//     @Enumerated(EnumType.STRING)
+//     private ExamCaptureQueueStatus status;
+//
+//     /**
+//      * 错误信息
+//      */
+//     private String errorMsg;
+//
+//     /**
+//      * 错误次数
+//      */
+//     private Integer errorNum;
+//
+//     /**
+//      * 是否存在虚拟摄像头
+//      */
+//     @Column(name = "has_virtual_camera")
+//     private Boolean hasVirtualCamera;
+//
+//     /**
+//      * 摄像头信息  json字符串数组
+//      */
+//     @Column(name = "camera_infos", length = 800)
+//     private String cameraInfos;
+//
+//     /**
+//      * 其他信息
+//      * Json格式
+//      * {
+//      * "":""
+//      * }
+//      */
+//     @Column(name = "ext_msg", length = 800)
+//     private String extMsg;
+//
+//     /**
+//      * 队列处理批次号(用户判断某一条数据处理状态)
+//      */
+//     private String processBatchNum;
+//
+//     /**
+//      * 队列处理的优先级,默认值为0
+//      */
+//     private int priority = 0;
+//
+//     /**
+//      * 是否有陌生人
+//      * 就是摄像头拍到不止考生一人
+//      */
+//     @Column(name = "is_stranger")
+//     private Boolean isStranger;
+//
+//     /**
+//      * 比较是否通过
+//      */
+//     @Column(name = "is_pass")
+//     private Boolean isPass;
+//
+//     /**
+//      * 人脸比较返回信息
+//      */
+//     @Column(name = "face_compare_result", length = 2000)
+//     private String faceCompareResult;
+//
+//     /**
+//      * 人脸比对开始时间
+//      */
+//     private Long faceCompareStartTime;
+//
+//     /**
+//      * 百度在线活体检测结果
+//      */
+//     @Column(name = "faceliveness_result", length = 2000)
+//     private String facelivenessResult;
+//
+//     public Long getExamRecordDataId() {
+//         return examRecordDataId;
+//     }
+//
+//     public void setExamRecordDataId(Long examRecordDataId) {
+//         this.examRecordDataId = examRecordDataId;
+//     }
+//
+//     public String getFileUrl() {
+//         return fileUrl;
+//     }
+//
+//     public void setFileUrl(String fileUrl) {
+//         this.fileUrl = fileUrl;
+//     }
+//
+//     public ExamCaptureQueueStatus getStatus() {
+//         return status;
+//     }
+//
+//     public void setStatus(ExamCaptureQueueStatus status) {
+//         this.status = status;
+//     }
+//
+//     public String getErrorMsg() {
+//         return errorMsg;
+//     }
+//
+//     public void setErrorMsg(String errorMsg) {
+//         this.errorMsg = errorMsg;
+//     }
+//
+//     public String getBaseFaceToken() {
+//         return baseFaceToken;
+//     }
+//
+//     public void setBaseFaceToken(String baseFaceToken) {
+//         this.baseFaceToken = baseFaceToken;
+//     }
+//
+//     public String getFileName() {
+//         return fileName;
+//     }
+//
+//     public void setFileName(String fileName) {
+//         this.fileName = fileName;
+//     }
+//
+//     public Integer getErrorNum() {
+//         return errorNum;
+//     }
+//
+//     public void setErrorNum(Integer errorNum) {
+//         this.errorNum = errorNum;
+//     }
+//
+//     public Long getStudentId() {
+//         return studentId;
+//     }
+//
+//     public void setStudentId(Long studentId) {
+//         this.studentId = studentId;
+//     }
+//
+//     public Boolean getHasVirtualCamera() {
+//         return hasVirtualCamera;
+//     }
+//
+//     public void setHasVirtualCamera(Boolean hasVirtualCamera) {
+//         this.hasVirtualCamera = hasVirtualCamera;
+//     }
+//
+//     public String getCameraInfos() {
+//         return cameraInfos;
+//     }
+//
+//     public void setCameraInfos(String cameraInfos) {
+//         this.cameraInfos = cameraInfos;
+//     }
+//
+//     public String getExtMsg() {
+//         return extMsg;
+//     }
+//
+//     public void setExtMsg(String extMsg) {
+//         this.extMsg = extMsg;
+//     }
+//
+//     public String getProcessBatchNum() {
+//         return processBatchNum;
+//     }
+//
+//     public void setProcessBatchNum(String processBatchNum) {
+//         this.processBatchNum = processBatchNum;
+//     }
+//
+//     public int getPriority() {
+//         return priority;
+//     }
+//
+//     public void setPriority(int priority) {
+//         this.priority = priority;
+//     }
+//
+//     public Boolean getIsStranger() {
+//         return isStranger;
+//     }
+//
+//     public void setIsStranger(Boolean stranger) {
+//         isStranger = stranger;
+//     }
+//
+//     public Boolean getIsPass() {
+//         return isPass;
+//     }
+//
+//     public void setIsPass(Boolean pass) {
+//         isPass = pass;
+//     }
+//
+//     public String getFaceCompareResult() {
+//         return faceCompareResult;
+//     }
+//
+//     public void setFaceCompareResult(String faceCompareResult) {
+//         this.faceCompareResult = faceCompareResult;
+//     }
+//
+//     public Long getFaceCompareStartTime() {
+//         return faceCompareStartTime;
+//     }
+//
+//     public void setFaceCompareStartTime(Long faceCompareStartTime) {
+//         this.faceCompareStartTime = faceCompareStartTime;
+//     }
+//
+//     public String getFacelivenessResult() {
+//         return facelivenessResult;
+//     }
+//
+//     public void setFacelivenessResult(String facelivenessResult) {
+//         this.facelivenessResult = facelivenessResult;
+//     }
+//
+// }