|
|
@ -51,8 +51,8 @@ public interface DaoOperation {
|
|
|
|
@Query("SELECT * FROM operation ORDER BY id")
|
|
|
|
@Query("SELECT * FROM operation ORDER BY id")
|
|
|
|
List<EntityOperation> getOperations();
|
|
|
|
List<EntityOperation> getOperations();
|
|
|
|
|
|
|
|
|
|
|
|
@Query("SELECT * FROM operation ORDER BY id LIMIT 1")
|
|
|
|
@Query("SELECT * FROM operation WHERE error IS NOT NULL")
|
|
|
|
EntityOperation getOperationFirst();
|
|
|
|
List<EntityOperation> getOperationsError();
|
|
|
|
|
|
|
|
|
|
|
|
@Query("SELECT COUNT(id) FROM operation" +
|
|
|
|
@Query("SELECT COUNT(id) FROM operation" +
|
|
|
|
" WHERE folder = :folder" +
|
|
|
|
" WHERE folder = :folder" +
|
|
|
|