|
@@ -21,7 +21,7 @@ public interface ExamFaceLivenessVerifyRepo extends JpaRepository<ExamFaceLivene
|
|
|
* @param examRecordDataId
|
|
|
* @return
|
|
|
*/
|
|
|
- @Query(nativeQuery = true, value = "select * from ec_oe_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);
|
|
|
|
|
|
/**
|
|
@@ -29,7 +29,7 @@ public interface ExamFaceLivenessVerifyRepo extends JpaRepository<ExamFaceLivene
|
|
|
* @param examRecordDataId
|
|
|
* @return
|
|
|
*/
|
|
|
- @Query(nativeQuery = true, value = "select 1 from ec_oe_exam_face_liveness_verify t where t.exam_record_data_id = ?1 and t.is_error = 0 limit 1")
|
|
|
+ @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);
|
|
|
|
|
|
/**
|
|
@@ -37,7 +37,7 @@ public interface ExamFaceLivenessVerifyRepo extends JpaRepository<ExamFaceLivene
|
|
|
* @param examRecordDataId
|
|
|
* @return
|
|
|
*/
|
|
|
- @Query(nativeQuery = true, value = "select * from ec_oe_exam_face_liveness_verify t where t.exam_record_data_id = ?1 and t.is_error = 1 order by id desc limit 1")
|
|
|
+ @Query(nativeQuery = true, value = "select * from ec_oes_exam_face_liveness_verify t where t.exam_record_data_id = ?1 and t.is_error = 1 order by id desc limit 1")
|
|
|
ExamFaceLivenessVerifyEntity findErrorFaceVerifyByExamRecordDataId(Long examRecordDataId);
|
|
|
|
|
|
List<ExamFaceLivenessVerifyEntity> findByExamRecordDataId(Long examRecordDataId);
|