Added operation state

This commit is contained in:
M66B
2019-05-11 21:04:27 +02:00
parent 1fb2e775d1
commit c00eac14f4
7 changed files with 1806 additions and 17 deletions

View File

@@ -93,6 +93,9 @@ public interface DaoOperation {
" AND message = :message")
int getOperationCount(long folder, long message);
@Query("UPDATE operation SET state = :state WHERE id = :id")
int setOperationState(long id, String state);
@Query("UPDATE operation SET error = :error WHERE id = :id")
int setOperationError(long id, String error);