|
@@ -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)
|