Show operation errors

This commit is contained in:
M66B
2018-12-01 15:13:57 +01:00
parent 30628f15f8
commit 6a81e064bf
7 changed files with 1197 additions and 7 deletions

View File

@@ -40,6 +40,9 @@ public interface DaoOperation {
@Query("SELECT COUNT(id) FROM operation WHERE folder = :folder")
int getOperationCount(long folder);
@Query("UPDATE operation SET error = :error WHERE id = :id")
int setOperationError(long id, String error);
@Insert
long insertOperation(EntityOperation operation);