Show send state/errors

This commit is contained in:
M66B
2018-08-15 11:26:59 +00:00
parent 92fc1349f0
commit ab485f8d43
10 changed files with 73 additions and 13 deletions

View File

@@ -51,6 +51,12 @@ public interface DaoIdentity {
@Update
void updateIdentity(EntityIdentity identity);
@Query("UPDATE identity SET state = :state WHERE id = :id")
int setIdentityState(long id, String state);
@Query("UPDATE identity SET error = :error WHERE id = :id")
int setIdentityError(long id, String error);
@Query("UPDATE identity SET `primary` = 0")
void resetPrimary();