xiatian 5 년 전
부모
커밋
987fd1690a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      examcloud-task-dao/src/main/java/cn/com/qmth/examcloud/task/dao/ReportsComputeRepo.java

+ 1 - 1
examcloud-task-dao/src/main/java/cn/com/qmth/examcloud/task/dao/ReportsComputeRepo.java

@@ -17,7 +17,7 @@ public interface ReportsComputeRepo
 			JpaRepository<ReportsComputeEntity, Long>,
 			JpaSpecificationExecutor<ReportsComputeEntity> {
 	@Query(value = "SELECT count(1) FROM EC_T_REPORTS_COMPUTE t "+
-			"WHERE t.status ='NONE'", nativeQuery = true)
+			"WHERE t.status ='NONE' or t.status ='STOPING' ", nativeQuery = true)
 	public int getTodoDataCount();
 	@Query(value = "SELECT t.* FROM EC_T_REPORTS_COMPUTE t "+
 			"WHERE t.id>?1 and (t.status ='NONE' or t.status ='STOPING') ORDER BY t.id limit ?2", nativeQuery = true)