Always allow deleting operations

This commit is contained in:
M66B
2019-07-24 10:06:56 +02:00
parent 1f2074a26f
commit b6047488d0
2 changed files with 53 additions and 27 deletions

View File

@@ -89,6 +89,9 @@ public interface DaoOperation {
@Query("SELECT * FROM operation WHERE name = :name")
List<EntityOperation> getOperations(String name);
@Query("SELECT * FROM operation WHERE id = :id")
EntityOperation getOperation(long id);
@Query("SELECT * FROM operation WHERE error IS NOT NULL")
List<EntityOperation> getOperationsError();