|
@@ -23,14 +23,6 @@ public interface ExamFaceLivenessVerifyRepo extends JpaRepository<ExamFaceLivene
|
|
*/
|
|
*/
|
|
@Query(nativeQuery = true, value = "select * from ec_oes_exam_face_liveness_verify t where t.exam_record_data_id = ?1 and t.is_error = 0 order by id asc")
|
|
@Query(nativeQuery = true, value = "select * from ec_oes_exam_face_liveness_verify t where t.exam_record_data_id = ?1 and t.is_error = 0 order by id asc")
|
|
List<ExamFaceLivenessVerifyEntity> findByExamRecordDataIdOrderById(Long examRecordDataId);
|
|
List<ExamFaceLivenessVerifyEntity> findByExamRecordDataIdOrderById(Long examRecordDataId);
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 测试是否存在
|
|
|
|
- * @param examRecordDataId
|
|
|
|
- * @return
|
|
|
|
- */
|
|
|
|
- @Query(nativeQuery = true, value = "select 1 from ec_oes_exam_face_liveness_verify t where t.exam_record_data_id = ?1 and t.is_error = 0 limit 1")
|
|
|
|
- Long countByExamRecordDataId(Long examRecordDataId);
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
* 取出is_error=1的最新的一条
|
|
* 取出is_error=1的最新的一条
|