|
@@ -133,4 +133,9 @@ public interface ExamCaptureQueueRepo extends JpaRepository<ExamCaptureQueueEnti
|
|
|
@Query(value = "update ec_oet_exam_capture_queue set process_batch_num=?2 where id=?1", nativeQuery = true)
|
|
|
void updateProcessBatchNum(Long captureQueueId, String batchNum);
|
|
|
|
|
|
+ @Transactional
|
|
|
+ @Modifying
|
|
|
+ @Query(value = "update ec_oet_exam_capture_queue set error_num = 0 where error_num >= ?1 and creation_time <= ?2", nativeQuery = true)
|
|
|
+ int resetExamCaptureQueueErrorNum(int maxErrorNum, String beforeCreationTime);
|
|
|
+
|
|
|
}
|